Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- naming of class names and ids - does it matter?


g1smd - 7:51 pm on May 9, 2012 (gmt 0)


Cetainly name them as what they are for or what they do, rather than what they look like.

e.g. "warning" rather than "red-text".

Hyphen-separators, underscores, camelCaps, I don't think it matters all that much. Just be consistent.


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