On 10/08/06, Chris Akins <[EMAIL PROTECTED]> wrote:
> But, even in other browsers, the bullets wouldn't go away by JUST
> defining a class rule like:
>
> .noBull {list-style:none;}
>
> and then applying that class to a <ul> in my html code.
#content ul {padding:0; margin:0; list-style:none;
list-style-image:url(../founders/images/cubeSm.gif);}
.noBull {list-style:none;}
#content ul, since it contains an id selector, is more specific then
.noBull, so it wins.
http://www.w3.org/TR/CSS2/cascade.html#specificity
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/