-
CSS ??
I just use this basic CSS to change all the links on the page, but when a link has been visited... It doesnt underline on hover, yet it changes colour? any ideas :confused:
Code:
a:link{color:blue; text-decoration:none};
a:hover{color:red; text-decoration:underline};
a:visited{color:blue; text-decoration:none}
Thanks
Si
-
You have to set the a tag first
Code:
a {color: blue; text-decoration:none}
And I think the visited is given precedence over hover.
-
Thanks
I changed it to...
a:link{color:blue; text-decoration:none};
a:visited{color:blue; text-decoration:none};
a:hover{color:red; text-decoration:underline}
...and it worked
cheers!
-
Yeah, you have to put a:hover last or else it won't work.