Afficher un message
Vieux 29/03/2008, 19h02   #2
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Strange(?) behavior with styled links

Ed Jay wrote:

> a.nav4w:link {color:#f8fafc;}
> a.nav4w:hover {color:#330099;background-color:#f8fafc;}
> a.nav4w:visited {color:#ffff00;} /*background-color:#3c93db;*/
> a.nav4w:active {color:#ffffff;}
>
> If I specify a background-color for the visited link, it doesn't
> change on hover. Is this normal, or what am I doing wrong?


You have the order wrong above. Needs to be:
link, visited, (focus,) hover, active

--
-bts
-"Las Vegas Has Animals"
  Réponse avec citation
 
Page generated in 0,04885 seconds with 9 queries