Thread: FF text size
View Single Post
Old 03-20-2008, 03:02 AM   #10 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by Aaron View Post
Semantically correct code is the next best thing though ;)
You appear to be implying that using DIVs is somehow not semantic. That's a general statement to make and on the face of it is completely wrong. There is no reason why the HTML markup cannot be both entirely semantically written and include DIV elements. So long as they're used for their intended purpose (hmm, what does DIV mean...) then it's a-ok to use them. That said, there's no reason why using DIVs should come as any particular requirement when writing a HTML document.

In contrast, I think we all know not to use:
HTML Code:
<div class="article_wrapper">
    <div class="title">My Article</div>
    <div class="paragraph">This is my cool little article</div>
</div>
... or maybe not.
Salathe is offline  
Reply With Quote