Home › Forums › Other › Useful CSS tips › Re: Useful CSS tips
April 11, 2008 at 6:39 pm
#46927
Towers
Member
…or use h1 and h2 (at least in that example).
EDIT: I suppose my point is that using it for titling things is silly when you could just use some css like
Code:
h1 {font-family:arial}
h2 {font-family:lucida sans unicode}
header h1, header h2 {color:#000;}
content h1, content h2 {color:#cc0000;}
h2 {font-family:lucida sans unicode}
header h1, header h2 {color:#000;}
content h1, content h2 {color:#cc0000;}
but I am not sure if that is normal or if I am being unsemantic or something.
A better use of multiple class selectors would probably be more easily exemplified with conditional body statements, similar to those used in modular web pages that achieve page-specific navigation appearances.