CSS style guide question

Posted by Vasu on Stack Overflow See other posts from Stack Overflow or by Vasu
Published on 2010-03-24T11:58:02Z Indexed on 2010/03/24 12:03 UTC
Read the original article Hit count: 537

Filed under:
|
|

What are the best practices with respect to styling HTML elements using CSS? What's the preferred granularity for styling HTML elements? i.e., do you have lots of

div.searchbox input

div.searchbox p

div.searchbox p.help

OR

input.searchbox

p.searchbox

p.searchboxhelp

Which css code is considered easy to maintain? Is using grid frameworks and reset considered best practice?

Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about best