...

View Full Version : Links underlining during mouse over



meterlink
07-09-2002, 10:10 PM
Hi,
I am looking for a way to underline a links <A>
only when the mouse is placed over then in NS4 and IE.
Could you please help with this

Thank you very much

redhead
07-09-2002, 10:32 PM
This can be done easily using CSS:

<style>
a:link, a:visited, a:active {
text-decoration: none}
a:hover {
text-decoration: underline}
</style>

happy coding :thumbsup:

applesauce
07-09-2002, 10:36 PM
fyi, hover does not work in netscape.
http://www.w3schools.com/css/css_pseudo_classes.asp
:)

redhead
07-10-2002, 09:49 PM
sorry 'bout that, there is a way to do all that for netscape 4 but i think it involves quite alot of coding.

Tell your surfers... "Site best viewed in IE..." and all that stuff

happy coding :thumbsup:

applesauce
07-10-2002, 10:09 PM
i agree :)

Bosko
07-11-2002, 12:16 AM
Originally posted by applesauce
fyi, hover does not work in netscape.
http://www.w3schools.com/css/css_pseudo_classes.asp
:)

Next time state explicit that it doesnt work in ns4,or newbies might get confused and think that it doesnt work in NS at all.

applesauce
07-11-2002, 04:43 PM
right, bosko



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum