
July 23rd, 2004
03:57 AM
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
___________________


July 23rd, 2004
04:34 AM
This will give you the desired effect:
a
{
color: #0F5F85;
text-decoration: none;
}
a:visited
{
color: #5A7785;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
___________________

Sodfather Quaker Studios
Ad Altiora Natus

July 23rd, 2004
04:40 AM
Nope, I still get no underline on hover
...On Mozilla & Firefox with Underlining "always on"
Ditto for IE6 with "hover underline"
___________________


July 23rd, 2004
09:28 AM
Neverside Newbie
Status: Offline!
Try
: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.

July 23rd, 2004
09:44 AM
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.