groovygarden
Programmer
- Aug 23, 2001
- 63
Hi,
I'm trying to set it up so that the links on my nav menu are not underlined unless the user is hovering over them. To do this I added some stuff to my style sheet:
...but there's a problem. It works fine on unvisted links (ie: there is no underline until I hover over the link) but on visted links the underline is there all the time.
Could anyone tell me what I'm doing wrong?
Thanks!
I'm trying to set it up so that the links on my nav menu are not underlined unless the user is hovering over them. To do this I added some stuff to my style sheet:
Code:
<style type="text/css">
<!--
a:link { text-decoration:none }
a:visited { text-decoration:none }
a:hover { text-decoration:underline }
a:active { text-decoration:none }
-->
</style>
...but there's a problem. It works fine on unvisted links (ie: there is no underline until I hover over the link) but on visted links the underline is there all the time.
Could anyone tell me what I'm doing wrong?
Thanks!