Re: Make Visited Links Work Like A Link

by "Darrell King" <darrell(at)webctr.com>

 Date:  Fri, 15 Sep 2000 13:28:40 -0400
 To:  <glover(at)gaeanet.com>,
<hwg-xml(at)hwg.org>
 References:  gaeanet
  todo: View Thread, Original
try putting the hover declaration last on the list...:)

D

----- Original Message -----
From: "Daniel Lee Glover" <glover(at)gaeanet.com>
To: <hwg-xml(at)hwg.org>
Sent: Friday, September 15, 2000 12:24 PM
Subject: Make Visited Links Work Like A Link


I realize that there are ways around this but I am unable to do them for
various reasons.  Mostly
because of my client.  My question is simply this.  Is there a way to make a
visited link act like a
regular link (visited links do not have a hover stage).  In other words is
there a way to make a
visited link have a "hover" stage?

a:link {color:blue;
  text-decoration:underline;
}

a:visited {color:purple;
  text-decoration:underline;
}

a.map:link {
  color: #FFFFFF;
  text-decoration: none;
}

a.map:hover {
  color: #BE80D0;
  text-decoration: none;
}

a.map:visited {
  color: #FFFFFF;
  text-decoration: none;
}

I know that one way to get rid of the problem is to get rid of "a:link",
"a:visited" and
"a.map:visited".  I can't do that however.  I know that the "a:link" and the
"a:visited" don't even
need to be stated because they are the HTML default.  What I am looking for
is a way to say MAKE A
VISITED LINK ACT LIKE A LINK BUT ONLY ON ANCHORS THAT HAVE CLASS="MAP".  It
would be really nice if
this would work:

a.map:visited {
  see a.map:link
}


Maybe it is going to take XML.  If that is the case can XML live inside and
HTML document.  The
other option may be Java or JavaScript.  Any ideas?

Thanks,
Daniel Lee Glover
glover(at)gaeanet.com

HWG hwg-xml mailing list archives, maintained by Webmasters