On 5/29/07, skip evans <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I have the following defined to set up an unordered lsit
> menu set.
>
> .menu ul {
>         width: 100%;
>            margin-left:0;
>            padding-left:0;
> }
>
> .menu li {
>         list-style: none;
> }
>
> .menu li a {
>         display: block;
>         text-decoration: none;
>         border-top: 1px solid #666;
>         border-bottom: 1px solid #666;
>         background-color: #9cabc4;
>         color: #fff;
>          padding-left: 4px;
>          padding-top: 4px;
>          padding-bottom: 4x;
> }
>
> .menu a:hover {
>         display: block;
>         text-decoration: none;
>         border-top: 1px solid #666;
>         border-bottom: 1px solid #666;
>         background-color: #c5cedc;
>         color: #000000;
> }
>
> But certain items in the list I want to override the
> background color, so I put this in the line item tag:
>
> <li style="background: #000000 !important;">item</li>
>
> But on Firefox/Linux (all I have here at home), it is not
> overriding the style sheet, not using the inline code.
>
> Any help would be greatly appreciated!

Try setting background-color rather than background in your inline
style. I don't think that's supposed to make a difference, but it
might be a small bug.
-- 
Richard Grevers, New Plymouth, New Zealand
Hat 1: Development Engineer, Webfarm Ltd.
Hat 2: Dramatic Design www.dramatic.co.nz
Lost yet? http://www.lost.eu/3d33f
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to