View Full Version : mouse over effect

07-12-2005, 01:48 AM
Script: onMouseover Link Effects IE

When I go to change the color of the link the mouse over effect doesn't work.

<a href=""><font color="#f5f5f5">blah</font></a>

If I do something like this the mouse over effect all of the sudden doesn't work. Let me know what is wrong.

07-12-2005, 12:40 PM
Don't do that then. If you specify a color nested inside where this script (it really isn't a script but, rather style) has influence, it will override it. In your example, get rid of the font tag. Set the 'starting out color' for links in the style section:

a:link {color:black;}
a:hover{color:red; }

a:link is the starting out color, a:hover is the mouseover color.