W3C home > Mailing lists > Public > www-style@w3.org > July 1999

Re: Changing Link Attributes On Mouse Movement

From: Peter Linss <peterl@netscape.com>
Date: Tue, 13 Jul 1999 12:34:20 -0700
Message-ID: <378B94BC.453CCF02@netscape.com>
To: "RAO JAGDISH B." <jagrao@goa1.dot.net.in>
CC: www-style@w3.org
Two points:
First, whitespace is illegal between components of a single selector. If
that selector really works in IE as you've typed it, please notify Microsoft
of their bug, the entire rule should be ignored by a conformant browser. The
selector should read: "a:hover".

Second, NN4.x does not support any of the CSS2 features (which :hover is).
Try the latest download from www.mozilla.org for a preview of NN5 which
already supports "a:hover".

To get the hover effect in NN4 you'd have to use javascript.

Peter

"RAO JAGDISH B." wrote:

> Hello,
> I have tried the following to change the style of link on mouse movement
> over it :
> . . .
> <style>
> a : hover{ . . . }
> </style>
> . . .
>
> This works well in IE4 but not in Netscape Navigator 4.
> Any suggestions to make it work ?
>
> Regards,
> Dattaraj.
> jagrao@goa1.dot.net.in
>
> Visit me at : http://www.members.tripod.com/~dattaraj_rao
> _______________________________________________


Received on Tuesday, 13 July 1999 15:35:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT