Christian Montoya wrote:

> Isn't ID more specific than class? So if #footer has font-size:1em;
> and then in .fancyfooter you try to override that with
> font-size:1.1em; it won't be overridden, because #footer has
> precedence?

good point, bad example on my part.

I'm more likely to add a class to the p in my example, rather than the 
footer, so the footer ID carries the defaults and classing the p 
allows me to deviate from them..  (probably why I can't get my head 
round the id.class is it just a more specific shorthand?)

;o)




-- 
http://wiki.workalone.co.uk
http://www.workalone.co.uk/ads.htm
http://www.xebit.net

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to