CSS Setting Underline link color different
Posted: Thu Dec 14, 2006 3:56 pm
feyd | Please use
Any ideas
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hey guys,
My links on my site are blue with a blue underline on every link. On hover the text background turns blue and the text and underline turns white. See what i mean?
Ok what im trying to do is set the underline color something different. I want underline color to be #cccccc at all times and keep the links all blue.
Heres what i got
[syntax="css"]
a:link, a:visited {
color: #330099; text-decoration: none;
font-weight: bold;
text-decoration: underline;
}
a:hover {
color: #ffffff; text-decoration: none;
font-weight: bold;
background-color: #000099;
text-decoration: underline;
}
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]