HTML5

6 views
Skip to first unread message

Christopher

unread,
Dec 12, 2009, 4:08:34 PM12/12/09
to Object Oriented CSS
Has anyone used OOCSS in a site using HTML5?

I'm wondering if you all would suggest putting the unit classes
directly onto the tags such as 'nav' and 'article' instead of nesting
those tags inside divs with the grid classes?

<nav class="unit size1of5"></nav> for example, as opposed to...

<div class="unit size1of5">
<nav>
</nav>
</div>

Nicole Sullivan

unread,
Dec 14, 2009, 4:34:47 PM12/14/09
to object-or...@googlegroups.com
I would recommend nesting because it separates the different concerns. <nav> could have something associated with it like paddings or borders which are incompatible with the grids classes. 

It isn't so different for HTML5 versus straight HTML or XHTML.

Nicole



--

You received this message because you are subscribed to the Google Groups "Object Oriented CSS" group.
To post to this group, send email to object-or...@googlegroups.com.
To unsubscribe from this group, send email to object-oriented...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/object-oriented-css?hl=en.



Reply all
Reply to author
Forward
0 new messages