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; padding: > .5em 1em; width: 100%;} > > My only thought is the display block, but can't explain why? Currently > only using IE6.
.hide and .paging have the same specificity. The last one in the source .css file then wins. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ 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/