...

View Full Version : Underlines



Jon W
07-22-2008, 04:51 AM
With CSS how is it possible to change the underline color to a different color then the color of the text?

a:hover { color:white; text-decoration:underline; }

Newegg.com has a good example of what I'm talking about. Just hover over one of their links on their home page.

Jon W
07-22-2008, 04:59 AM
Any help on this one?

Jon W
07-22-2008, 05:13 AM
I've figured this out.

a:hover{color:#ffffff;text-decoration:none;border-bottom:1px solid #009933;}

effpeetee
07-22-2008, 05:20 AM
Try using border-bottom instead of underline.

.ul{
border-bottom:1px solid red;
}

or something like it.

I once used this technique to get a vertical line.

Frank.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum