Subject: Anchor tag visited CSS related question
Posted By: mat41 Post Date: 4/16/2008 5:55:46 PM
Appologies for this cross post:

http://p2p.wrox.com/topic.asp?TOPIC_ID=70518

However after 6 days in the correct area of the forum its seems no CSS members choose to assist.  After further trial and error I am wondering if this is even possible??? Its seems so simple, anyhow the post is:

How can I enforce a visited link style on an anchor tag which opens a new window?  This anchor tag looks like:

<a href="#"  onclick="..." class="visLink">myTxt</a>

In my .css file I have:

a.visLink           {FONT-FAMILY:verdana,ARIAL,helvetica,palatino,sans-serif;FONT-SIZE: 11px;color:#001271 ;font-weight:medium; text-decoration: none}
a:hover.visLink     {color: #FFA500; text-decoration: none;}
a.visited.visLink   {color: #999999; text-decoration: none;}

Trial an error has told me if there is not a page referenced in the 'href' part of the anchor tag the active ('a.visLink') style addopts the visited ('a.visited.visLink') style.

Very strange...Any ways around this?  My objective is to make a visited link style stick inside the above anchor tag

TYIA

Wind is your friend
Matt
www.elitemarquees.com.au

Go to topic 70649

Return to index page 1