Reynier Perez Mira wrote:
> I treat to build a menu system using LI elements but I can't get the way
> to change the background color. I treat to do the same as links. For
> example:
>
> a:link, a:active, a:visited {
> color: #fff;
> text-decoration: none;
> font-size: 11px;
> }
> a:hover {
> color: #ffcc66;
> }
>
> Something like that but for LI elements. How I could do this?
You _can_ declare a li:hover, however, it does not work in Explorer
(MSIE). I've made a tiny demonstration:
<http://garion.dk/webdesign/hover.html>. You have to have links to make
MSIE understand/use :hover (so just put links in the li's)
Apart In the code above you change the text color on :hover but not the
background.
Kind regards
Jesper Brunholm
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/