Click to See Complete Forum and Search --> : Link NOT Change color


PrinBrando
08-04-2003, 09:06 PM
How to make links not change color when the mouse is over it.
Sounds easy but everyone always has to have their links change color. Atleast that was all I could find on google.
Nice and easy. I need the code.
thxs

starrwriter
08-04-2003, 09:37 PM
Originally posted by PrinBrando
How to make links not change color when the mouse is over it.

Links don't change color on mouseover unless you specify this function in a stylesheet. No stylesheet, no color change on mouseover.

If you meant change color after clicking, just set all link attributes to the same color in the stylesheet: normal link, link hover, active link and visited link.

PeOfEo
08-04-2003, 11:48 PM
you can make a table cell change color in a mousover without a style sheet... but here is my code to make a link change colors, its called a hoverlink.

<style type="text/css">
a:link {color:#00ffff;text-decoration:none;}
a:visited {color:#00ffff;text-decoration:none;}
a:hover {color:#4682b4;text-decoration:none;}
a:active {color:#00ffff;text-decoration:none;}
</style>

Simply edit the colors and place it in the head of your page it will remove the underlines from your links and change the color when the mouse is over them, it will affect all links though just so you know.