Link NOT Change color

liunx

Guest
How to make links not change color when the mouse is over it.<br />
Sounds easy but everyone always has to have their links change color. Atleast that was all I could find on google.<br />
Nice and easy. I need the code.<br />
thxs<!--content-->Originally posted by PrinBrando <br />
How to make links not change color when the mouse is over it. <br />
<br />
Links don't change color on mouseover unless you specify this function in a stylesheet. No stylesheet, no color change on mouseover.<br />
<br />
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.<!--content-->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.<br />
<br />
<style type="text/css"><br />
a:link {color:#00ffff;text-decoration:none;}<br />
a:visited {color:#00ffff;text-decoration:none;}<br />
a:hover {color:#4682b4;text-decoration:none;}<br />
a:active {color:#00ffff;text-decoration:none;}<br />
</style><br />
<br />
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.<!--content-->
 
Back
Top