How do you name classes and IDs, and why?

I used to stick to all lowercase, but am starting to use CamelCase for ease
of reading (e.g. #HeaderMain rather than #header-main). This means I also
capitalise short names, e.g. #Content or .Clearer.

Makes no difference? Or are there practical considerations? My doctypes are
usually XHTML 1.0 Strict.

francois

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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