hwg-xml archives | Sep 2000 | new search | results | previous | next |
Make Visited Links Work Like A Linkby "Daniel Lee Glover" <glover(at)gaeanet.com> |
|
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