[css-d] Specificity Multiple classes

2009-03-23 Thread Alex James
Probably missing something obvious but why doesn't the hide class override? div class=paging hide span class=pagebanner/span /div CSS --- .hide { display: none;} .paging { background-color: #d6d6d6; display: block; padding: .5em 1em; width: 100%;} My only thought is the display

Re: [css-d] Specificity Multiple classes

2009-03-23 Thread Philippe Wittenbergh
On Mar 23, 2009, at 8:49 PM, Alex James wrote: Probably missing something obvious but why doesn't the hide class override? div class=paging hide span class=pagebanner/span /div CSS --- .hide { display: none;} .paging { background-color: #d6d6d6; display: block;

Re: [css-d] Specificity Multiple classes

2009-03-23 Thread Alex James
On Mar 23, 2009, at 8:49 PM, Philippe Wittenbergh wrote: .hide and .paging have the same specificity. The last one in the source .css file then wins. Yep see it now! Sorry couldn't see the wood for the trees. Thanks, Alex