English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi I have :

a:link {
font-family: Verdana, Arial;
font-size: 11px;
font-weight: normal;
color: #003366;
text-decoration: none
}
a:hover {
font-family: Verdana, Arial;
font-size: 11px;
font-weight: normal;
color: #003366;
text-decoration: underline
}
a:visited {
font-family: Verdana, Arial;
font-size: 11px;
font-weight: normal;
color: #003366;
text-decoration: none
}

once one of the links is clicked then the visited takes effect but the rollover :hover effect no longer works, how can I make it act like it hasn't been clicked ?

I did ask this question earlier but maybe I wasn't clear enough.

Thanks

2007-12-21 06:50:59 · 2 answers · asked by mrajsmith2000 1 in Computers & Internet Programming & Design

I have the visited because if I don't the once clicked the link goes to a default purple colourr - eitherway this doesn't solve the problem the link stops haveing the hover function ?

2007-12-21 07:10:48 · update #1

So no one know actualy how to do this - I've seen it many other websites ?

2007-12-21 07:48:30 · update #2

2 answers

Try putting the a:visited before the a:hover. It may have something to do with the cascading effect.
see this http://meyerweb.com/eric/css/link-specificity.html
The order should be LVHA: linked, visited, hover, active

2007-12-21 09:37:51 · answer #1 · answered by dubbarob 5 · 0 0

Remove the text-decoration for visited. tbh nothing changes so why do you have the :visted css?

2007-12-21 14:58:19 · answer #2 · answered by UKDealsBox.com 4 · 0 0

fedest.com, questions and answers