I'm wondering if combined selectors have a lower specificity than 
non-combined.  For example in my stylesheet I have:

.hm #events_snip .date, .article { color: red; }
.hm #news_snip .date, .article { color: green; }

On the page the .article class shows up green, even though it is NOT 
descendant from #new_snip, it is descendant from #events_snip.  Why does 
it do that?

Now, if I have this:

.hm #events_snip .article { color: yellow; }
.hm #news_snip .date, .article { color: green; }

The .article class shows as yellow.  I don't understand this.
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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