At 2/1/2007 02:12 PM, Scott Povlot wrote:
>The problem here is CSS specificity.  Your ".smallcaption" class is 
>overridden by the ".article p" which also sets the font size.  If 
>you change your ".smallcaption" to "p.smallcaption" or  add another 
>version such as ".article p .smallcaption", your problem will be solved.

Michael, here's where you can read up on selector specificity:

CSS 2.1 Specification
6 Assigning property values, Cascading, and Inheritance
http://www.w3.org/TR/CSS21/cascade.html

Regards,

Paul
__________________________

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com 

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

Reply via email to