Rimantas Liubertas wrote:
> <...>
>   
>> Well, divs have no semantic meaning, so *any* div that you add to a page
>> is for the purpose of design, really. There's no such thing as a
>> semantic div, in the strict sense. But, I doubt you are looking for
>> examples of sites that use neither tables nor divs, as that would be a
>> pretty plain page. So I'm guessing you are looking for pages that
>> structure the chunks of information on the page into divs with
>> meaningful ids (which are nevertheless just there for style) and don't
>> nest divs?
>>     
> <...>
>
> I wouldn't be so strict. 

I'm not. :-) The original poster was, and I replied in kind. If you want 
absolute 100% separation of content and presentation, and pure 
semantics, you can't use divs. But that's pretty silly.

> Divs are/may be used to group related content
> together, just like ol/ul groups a bunch of list items. Yes, <div> is
> more general in semantic sense, but not without semantic meaning.
> Ids can be used not only for the styling or DOM manipulation. Ids are
> for that their name says - identification which can be useful in many ways.
> Maybe we don't have default meanings for those things, but it does not mean
> we cannot provide them. Class attribute has even less semantic meaning than
> div element, but take microformats and it is no longer meaningless.
>   

No, divs have no semantic meaning, inherently, in the pure sense of the 
word. They can contain anything -- thus, there is no "match" between the 
element and its content. An id can't establish semantics -- again, in 
the pure sense of the word. Divs and aren't non-semantic (like font or 
center elements), they are just a-semantic. Neutral. But this is just a 
debate about pie-in-the-sky theory about the meaning of words. Now, if 
you want to speak more generally, instead of in strict standards-speak, 
and say whether a div with an id of "header" that contains heading 
information for the site is meaningful, yes, it is. That way my point -- 
that all divs are inherently neutral, and are only used for presentation 
purposes, but that doesn't mean that you can't use divs selectively and 
in a meaningful way to create your designs. But this balance (what a 
meaningful div is and what an "extra" div is) is something that is 
determined by each individual.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to