Hyperlink Rollover NOT Working

J

Jenski

I'm trying to set up my hyperlinks so that when the cursor is over the
hyperlink it turns another color. However, while the rollover effect works
with bolding and such it won't work with color. How do I correct this? Is
there someting I'd have to be doing in order to prevent the rollover effect
from working?
 
R

Ronx

It is difficult to see what is going wrong without seeing the page and all
associated CSS.
Basically, CSS similar to:

a:link {color: blue;}
a:visited {color:purple;}
a:hover {color:red;font-weight:bold;}

will do as you describe - change to red, bold text on hover. But the order
of the pseudo elements is important.

IMO, changing the font to bold is not usually a good idea, since it can
cause the page layout to change while the link is hovered - the text in the
link takes up more space.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hyperlink Rollover Effects 4
Using rollover effects 4
Hyperlink Rollover Effect 4
hyperlink text colour 2
Rollover style... 1
Hover format for hyperlink 4
Hyperlink Rollover Effect 5
Rollover effects not working 2

Top