Kenoli Oleari wrote:
> This now my code in the stylesheet and I am still getting a background 
> on hover:
>
> a {
>     color: #0000FF;
>     font-size: small;
> }
> a:active {color: #339933; }
>
> a:visited {color: #006633; }
>
> a:hover {
>     color: #003366;
>     background-color: #00CCCC}
>
> a.button:hover { background-color: none; }
>
Hi Kenoli,
Oops, focused on the cascade order, I didn't notice before; but it has 
to be:

    a.button:hover { background-color: transparent; }

or

    a.button:hover { background: none; }

for

    a.button:hover { background-color: none; }

is not valid css. A color "none" doesn't exist! :-)
If {background: none;}is set, then all properties are set to their 
initial values (which is transparent for a background-color).
See: css-specs, background-properties 
<http://www.w3.org/TR/CSS21/colors.html#background-properties>

Greetings,
francky
 


______________________________________________________________________
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