20 July 2008 @ 08:36 pm
LJ and HTML WTF  
Whoever coded Flexible Squares needs some serious HTML lessons. Basic HTML lessons. Classes title, subtitle, sbartitle... There is an easier way to way to do this. You don't use classes if you have HTML tags for this. They are called h1, h2, h3...

Well, go join the new [livejournal.com profile] fs_lims round. ;) You have until tonight I think. Oh, and there is [livejournal.com profile] elitescreen.
 
 
( Post a new comment )
[identity profile] elli.livejournal.com on July 20th, 2008 09:10 pm (UTC)
Actually one should always use html tags as much as possible and not divs with classes and ids. Because it's semantically correct and when people view the content who are disabled, it will tell them if it's a point for navigation, a subject line or something else.

Plus, you could base code a h2 tag with say, a color, or text-transform: uppercase. And then fine tweak it using the surrouding div of... like in this case #header, .entry etc. entry_text h1 for instance is not ugly. It's semantically correct and easy to find when you work on your css.