blue-genie
asked on
CSS oddity
Hi all.
my CSS which i'm linking to
a:link {
font-weight: bold;
text-decoration: none;
color: #CCCCCC;
}
a:visited {
font-weight: bold;
text-decoration: none;
color: #FFAF11;
}
a:hover, a:active {
text-decoration: underline;
color: #FFAF11;
}
problem is, whenever I preview the page (F12) or if i open the html page, the link takes on the visited color, even when refreshing and reloading.
what's up with that?
thanks
blu.
my CSS which i'm linking to
a:link {
font-weight: bold;
text-decoration: none;
color: #CCCCCC;
}
a:visited {
font-weight: bold;
text-decoration: none;
color: #FFAF11;
}
a:hover, a:active {
text-decoration: underline;
color: #FFAF11;
}
problem is, whenever I preview the page (F12) or if i open the html page, the link takes on the visited color, even when refreshing and reloading.
what's up with that?
thanks
blu.
I know this may sound INCREDIBLY obvious, but have you cleared your browser's cache? This same type of problem drove me nuts for hours one day until I remembered to clear the cache.
ASKER
yup, first thing i did.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You might try clearing your cache and history, then closing the browser. Reopen and view. That sometimes works for me.
ASKER
i have cleared everything possible.
Try removing this: a:active
I think what you're seeing is the active part of the link. If the link is active, you will see that color which is the same as your visited link. Remove the coma after hover too.
I think what you're seeing is the active part of the link. If the link is active, you will see that color which is the same as your visited link. Remove the coma after hover too.
ASKER
nope, that didn't do anything.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And this works too. I guess you just needed another enter in between the lines. Let me know if this didn't work for you.
a:link {
font-weight: bold;
text-decoration: none;
color: #CCCCCC;
}
a:visited {
font-weight: bold;
text-decoration: none;
color: #FFAF11;
}
a:hover, a:active {
text-decoration: underline;
color: #FFAF11;
}
a:link {
font-weight: bold;
text-decoration: none;
color: #CCCCCC;
}
a:visited {
font-weight: bold;
text-decoration: none;
color: #FFAF11;
}
a:hover, a:active {
text-decoration: underline;
color: #FFAF11;
}
ASKER
hi, its not that i'm not interested, just none of the suggested solutions above did the trick.....
And we are not mindreaderds.
When a solution does not work for you, you must tell this to the experts.:)
When a solution does not work for you, you must tell this to the experts.:)
ASKER
i humbly apologise. It slipped my mind.
please please please forgive me.
please please please forgive me.
No problem:) Just keep this in mind next time.
ASKER
if i could keep it in mind I wouldn't forget :-)
but i get ur pt.
can we close the question and get a refund?
but i get ur pt.
can we close the question and get a refund?
Let's see what the experts will say.
But you can always ask Community Support to do this.
Just post a question here: https://www.experts-exchange.com/Community_Support/ and do not forget to post the link to this question :)
But you can always ask Community Support to do this.
Just post a question here: https://www.experts-exchange.com/Community_Support/ and do not forget to post the link to this question :)
Did you try putting another return after the close bracket? It worked for me.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
blue-genie,
Any chance to answer to the experts?
Any chance to answer to the experts?
ASKER
in terms of prifre comments, it's not a catching issue.
on firefox, same thing, thats the only other browser i have access to.
i checked the multiple definitions. nothing.
its' never happened again, i'm going to close this post - and write off the problem as just one of those phantom things.
thanks all.
blu.
on firefox, same thing, thats the only other browser i have access to.
i checked the multiple definitions. nothing.
its' never happened again, i'm going to close this post - and write off the problem as just one of those phantom things.
thanks all.
blu.
ASKER
btw, since i was once flamed for closing a question where there was no solution, i shall split the points, sorry if i miss anyone out.
blu
:-)
blu
:-)