|
-
Jun 6th, 2001, 02:08 PM
#1
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 
Code:
a:link{color:blue; text-decoration:none};
a:hover{color:red; text-decoration:underline};
a:visited{color:blue; text-decoration:none}
Thanks
Si
-
Jun 6th, 2001, 02:17 PM
#2
Black Cat
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.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 6th, 2001, 02:36 PM
#3
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!
-
Jun 6th, 2001, 02:42 PM
#4
Fanatic Member
Yeah, you have to put a:hover last or else it won't work.
Alcohol & calculus don't mix.
Never drink & derive.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|