How to use Span style and Hover to change text

liunx

Guest
Hi;

I've just successfully added the code to display "Add this site to your favorites" text to my web site, using the tutorial found on this site. It uses <span style> to make the text appear as if it is a link, whereas in fact it is just text that when clicked executes javascript code.

My question is that I use css to define the links on my site, one of which adds a hover color to my links. I can't figure how to define the hover color within the <span style>.

Any help would be appreciated
Thanks
-Robinspan:hover {color:red;}
This does not work in IE. To do so: <!-- m --><a class="postlink" href="http://www.vladdy.net/Demos/iepseudoclassesfix.htmlOk">http://www.vladdy.net/Demos/iepseudoclassesfix.htmlOk</a><!-- m -->, thanks - that should take care of what I need to do.

-Robin
 
Back
Top