Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

124 users online



CSS Hover psuedo-class for Visited links

CSS Hover psuedo-class for Visited links

Currently viewing this thread: 1 (0 members and 1 guests)


W3bdevil

W3bdevil

Someone
Status: Offline!

CSS Hover psuedo-class for Visited links

Hai

Its like this:

a:link {
color: #0F5F85;
text-decoration: none;
}
a:hover {
color: #0F5F85;
text-decoration: underline;
}
a:visited {
color: #5A7785;
text-decoration: none;
}

thing is, I want a:visited to be underlined when its hovered

Is there any way to do this?

Thanks
-w3bbo

___________________

http://www.w3bdevil.com/forums/sigs/browser/browser.asp

Sodfather

Sodfather

Status: Offline!

This will give you the desired effect:

Code:

a
{
color: #0F5F85;
text-decoration: none;
}
a:visited
{
color: #5A7785;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}

___________________

http://quakerstudios.com/yo/sig-cb.png
                    Sodfather                          Quaker Studios
             Ad Altiora Natus

W3bdevil

W3bdevil

Someone
Status: Offline!

Nope, I still get no underline on hover

...On Mozilla & Firefox with Underlining "always on"

Ditto for IE6 with "hover underline"

___________________

http://www.w3bdevil.com/forums/sigs/browser/browser.asp

freak

freak

Neverside Newbie
Status: Offline!

Try

Code:

:visited:hover {
text-decoration: underline;
}


Note: There is no typo, this CSS selector is composed exclusively of the two pseudo-classes. More information can be found in the following article: http://dbaron.org/css/1999/09/links

___________________

Tables for layout is an abuse. -- Internet Explorer is unsafe.

TheClincher

TheClincher

Lost in Berkeley, CA
Status: Offline!

try

a:link, a:visited {properties}
a:hover, a:active {properties}

___________________

There is no theory of evolution. Just a list of creatures Chuck Norris has allowed to live.

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0079 seconds.