|
onMouseOver Colour Change
added on the Jan 7, 2005
This is really basic and easy.
<style type="text/css">
a {
font-decoration:none;
}
a:link {
color: #0006FF;
}
a:visited {
color: #0006FF;
}
a:hover {
color:#FF0000;
}
a:active {
color: #0006FF;
}
</style>
The font-decoration in "a" makes it so that the links aren't ever underlined. You can remove it if you wish to. a:link is the normal link color, a:visited is the visited link's color, a:active is the active link's color, and a:hover is the color of the link when being hovered over with the user's mouse.
font-decoration:none;
font-decoration: Here you can insert stuff like, none, underlined, etc.
color: Well, not much to explain, just put the color you want in the sintax: #COLOR.
That's it, pretty simple!
|