Sun, 2004-09-12 13:26
Hello,
I would like to use the possibility that the hyperlinks will be coloured after your mouse is on it, but different from each hyperlink.
I know you can use this:
A:link {color: #cccccc; }
A:visited {color: #cccccc; }
A:hover {color: #FF0000; }
This will make the link 'red' when the mouse is on the link. But I have another link, that should have the colour '#ffff00' when the mouse is over. How can I do this?
I hope someone can help. Thanks!
Sun, 2004-09-12 14:36
#1
link coloured when mouse is over..
something like this, depending on your situation:
<a href="#">link 1</a>
<a href="#" class="color2">link 2</a>
A:link,
A:visited {color: #cccccc; }
A:hover {color: #FF0000; }
A:active {color: #cccccc; }
A.color2:hover {color: #FFFF00; }