This probelm bugs the hell outta me!!

tenchi_63's picture

He has: 78 posts

Joined: Dec 2003

okay...so I'm using CSS on my site, and I have created one for the tags. Now, there is an "a:link" with one color and no decorations; i also have an "a:hover" set to a different color and no decorations...no probs so far...finally i have the "a:visited" set to the same parameters as the a:link, meaning same color and no decorations.

Now, my problem comes in when actually clicking these links on the live site. Once they have been clicked on, they remain in their "visited" state and lose their roll-over effect ... ... ... WHAT??!?!?!

Any ideas on how I could fix this? PLLLLEEEAASSEEEE!!!!

"Infidel Defilers. They shall all drown in lakes of blood."
- Thulsa Doom

He has: 12 posts

Joined: Dec 2003

I had the same problem and got ride of the a:visited link.

Here is how I formatted mine:

a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #999999;
text-decoration: none;
}
a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #5B7EB3;
text-decoration: none;
}

tenchi_63's picture

He has: 78 posts

Joined: Dec 2003

hmm.. i thought about doing that, but would that leave the default visited script on? meaning that the text would be underlined and an ugly red?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

An example would help, but I'm guessing that you have the :hover before the :visited -- they have to be in order.

tenchi_63's picture

He has: 78 posts

Joined: Dec 2003

To Suzanne: so I should have the :hover after the visited then? If thats all it was, im gonna shoot myself in the @$$!

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

lol, use a bbgun. Wink

yes, the order is somewhat disputed whether it needs to be :link, :active, :visited, :hover or with :active and :visited switched, however :hover should be last.

tenchi_63's picture

He has: 78 posts

Joined: Dec 2003

Great! Thanks a lot!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.