Forums

CSS

This topic is locked

Re: CSS link colours

Posted 01 Oct 2005 00:46:42
1
has voted
01 Oct 2005 00:46:42 Phil Needham posted:
I'm using one of Dreamweaver's CCS page templates and its associated .css file. Although I can alter the link colours in the .css file to do generally what I want, the rollover colour only appears the first time a link is visited. When the visited colour has appeared, if the mouse is placed over the same link again, there is no rollover effect. The short code is as follows.
a:link{
color: #666666;
text-decoration: none;
}

a:visited{
color: #999999;
text-decoration: none;
}

a:hover{
color: #ff0000;
text-decoration: underline;<font face='Arial'></font id='Arial'>

Replies

Replied 04 Oct 2005 15:42:14
04 Oct 2005 15:42:14 Lee Diggins replied:
Hi Phil

I've tested this and it works for me.

Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>
Replied 21 Oct 2005 00:31:56
21 Oct 2005 00:31:56 andy bertaut replied:
If i read u right, then what you're talking about is actually a failing in IE. You need to empty your history to get your rollover states back. I am sure i have a way around this though, and I will check from work tomorrow where i have my code, and repost then.

Reply to this topic