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!
Skip
--
Skip Evans
Big Sky Penguin
61 W Broadway
Butte, Montana 59701
=-=-=-=-=-=-=-=-=-=-
Check out PHPenguin, a versatile and lightweight
code base for developing PHP/MySQL applications.
phpenguin.bigksypenguin.com
______________________________________________________________________
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/