On Tuesday 20 July 2010 15:37, Chris Blake wrote:
> >
> > I like to treat class and id semantically -- or at least according to
> > my understanding of what that means.
> >
>
> SOUNDS GOOD TO ME!
>

But there is nothing really wrong with a combination of both:-
<code>
<div id="this1" class="content">
Content
</div>
<div id="this2" class="content">
More content
</div>
</code>
This allows you to make these divs behave similar with the ".content" class, 
but give specific attributes to each as needed by ID.
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to