FF text size
View Single Post
03-20-2008, 11:28 AM
Join Date: Dec 2007
Location: In my basement
Divs used correctly name elements. So their intended purpose is to provide a block level <span>. such as below:
In here I am naming the footer, but don't think that I am naming it just because I use ID.
Id is used for elements that are used once in the page; logoStrip, leftColumnContent, footerLinks, ect. are all things that need ID's.
Classes are for elements that are used more than once, so on this forum each post can have its own css class.
My post above was just saying that coding semantically correct is hard for some people. the code block you illustrated proves it. IPB Board uses too many Div's as well. Coding without <div>'s, however, looks like an impossible feat to many people. I just made a fun little navigation with that is just a list and a LOT of css :/. I even had to take a shortcut and put <br /> tags before the link text to move it down.
if anyone can help me out on the navigation to remove the break tags I would be grateful.
And, Freenity, sorry for hijacking.
The global structure of an HTML document
Last edited by Aaron : 03-20-2008 at
View Public Profile
Send a private message to Aaron
Visit Aaron's homepage!
Find More Posts by Aaron