...

View Full Version : Line to appear onmouseover



SteveH
03-11-2009, 12:43 PM
Hello

For my sidebar links I use the following:


a:hover {
text-decoration: none;
color: #0000CD;

This makes the black type appear blue when the mouse pointer goes over the link. Apparently, it is not clear that it is a link, so I would now like to use a line under the link (in the same blue colour) when the mouse passes over it.

How would I do that, please?

Thanks.

Steve

abduraooft
03-11-2009, 12:49 PM
a:hover {
text-decoration: none;
color: #0000CD;
border-bottom:1px solid #0000CD;
}

VIPStephan
03-11-2009, 12:58 PM
a:hover {
text-decoration: none;
color: #0000CD;
border-bottom:1px solid #0000CD;
}

Why not just text-decoration: underline;? :confused:

abduraooft
03-11-2009, 01:05 PM
Why not just text-decoration: underline;? :confused:

For my sidebar links I use the following:


a:hover {
text-decoration: none;
color: #0000CD;


lol, I assumed the OP has some purpose with it and can't be changed.

SteveH
03-11-2009, 01:26 PM
That's great, it works!

Very many thanks.

Steve



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum