Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS Coding Standards - Part 2


Edouard_H - 6:42 pm on May 22, 2008 (gmt 0)


In this case I would lay the CSS file out pretty much from generic to classes to id's and their child elements; It makes it easy to quickly identify which styles apply to page elements.

p
h1

.classc

p.classa
h1.classa

p.classb

#mydiv
#mydiv p
#mydiv h1

[edited by: Edouard_H at 6:42 pm (utc) on May 22, 2008]


Thread source:: http://www.webmasterworld.com/css/3656519.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com