I’m trying an HTML5 version of my current site theme, and ended up making some other fiddly changes to the theme files, so things may look … quirky … for a little bit.
4 Replies to “screwing around with html5”
Comments are closed.
in which I write about stuff
I’m trying an HTML5 version of my current site theme, and ended up making some other fiddly changes to the theme files, so things may look … quirky … for a little bit.
Comments are closed.
Looks to be good now. I even figured out a few things about WordPress.
Looks bubbly to me!
What all did you do? Details, we want details!
Bobby – changed the doctype, changed a bunch of divs to the new semantic elements (header, footer, article, section, nav), tweaked the heading structure. (Got briefly lost down the rabbit-hole of section vs div.)
As for the theme itself, I cleaned up the HTML generally in the comment template. (Still need to fix the date/time thing.) Finally got the older/newer links working the way I want them; ditto with the archives page. Dropped a couple of template files that I wasn’t using. That’s about it.
The 4 to 5 conversion was absurdly easy, honestly; the hardest part was getting my CSS to correctly match the changed elements. And since I was using IDs w/out any element names for lots of it, even that didn’t need much work.
I was surprised to discover, tho, that Firefox didn’t treat any of the new elements as block by default. That took me a bit to figure out.
And I haven’t looked in IE yet.