-
Hi folks,
I'm trying to make a navigation bar where as the user rolls over the text of a link, the link becomes underlined.
I kinda got the idea from www.gamespot.com :)
It sounds like a pretty simple thing to do and I'm sure that I've done it before but I can't for the hell of me remember how :D
Thanks folks,
-
Using CSS2 something like this:
A:hover {color: #FFFFFF; text-decoration: underline; }
Chapter 5 of the spec covers all this stuff http://www.w3.org/TR/REC-CSS2/selector.html
-
You have to also specify in a:link that there is no text decoration, 'cause the default is underlined.
-
And be aware that the only version of Netscape that this works on is 6.
-
Thanks all, I knew it wasn't that hard to do :)
Ta again