View Full Version : Change colour when hovering over link


StuckonAntanDec
12-01-2003, 06:10 PM
Hiya, i want this:

fanlistings.org

to be a link and i want to have it so that when you hover over it, the link goes light blue or something.
i also want the link to be like the links at the TOP of this page...

http://www.duchovnys.com/mccormack/eric.html

(so that there is a line above and below the link when you hover over it.)
how do i put both these things - colour and lines into one code?

thanks x
neh x

pb&j
12-01-2003, 08:15 PM
try adding this to the HEAD area of your coding...

<style type="text/css">
.special a {color:#4040ff;}
.special a:hover {text-decoration:underline overline;}
</style>


then add the class to your link...

<a href="http://www.fanlistings.org" class="special">fanlistings</a>