-
I am trying to figure out how to Change the color of a link when the mouse hovers it. Anyone have any idea's ? I would like it to be like the sitepoint links .. except without the line .. I have the without line part .. now I just need to get the colors to change.
Thanks
Chuck
-
Hi Chucki !
There is a fast way - but it only will function in Microsofts Explorer.
Add a a:hover style to your style definition.
like this :
a {color:red}
a:hover {color:blue}
In Netscape Navigator you have to write Event-Handlers. This works in the same way as if you wanted to use *highlight graphics*...
-
Hello Chucki.
The new NS Browser also supports CSS mouseover effects too.
Just a little note on the side!
-
Hi,
A more efficient way would be:
a { font-family: Verdana, Arial; font-size: 10pt; }
a:hover { color: #000000; }
a:link { color: #A80000; }
a:vlink { color: #FFFFFF; }
You could also set text-decorations: underline; etc.
-
Here's another useful article on CSS by Matt Mickiewicz :
http://www.webmasterbase.com/article.php?aid=43&pid=0