Previous Message
Next Message

Selector rule not applying

Sent by Zoe M. Gillenwater on 14 September 2004 13:01


Kim Siever wrote:

>The problem I am experiencing is that Nothing I add to the "a#1620" rule is
>applied in the browser. Yet, everything in " ul#isdiagram li a" does get
>applied.
>  
>

In addition to the naming problem, keep in mind that your second 
selector is more specific than your first.  Check out how to calculate 
specificity here:
http://www.w3.org/TR/REC-CSS2/cascade.html#specificity

a#1620 = specificity 101
ul#isdiagram li a = specificity 103

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Possibly related: