Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Problem z hover w linkach.
DonJeday
post
Post #1





Grupa: Zarejestrowani
Postów: 113
Pomógł: 0
Dołączył: 24.10.2008
Skąd: Częstochowa

Ostrzeżenie: (0%)
-----


Mam głupi problem i nie wiem co jest grane... Mam klasy:

Kod
a:visited , a:active, a:link {
 font-family: tahoma;
 font-size: 10px;
 color: #000000;
 font-weight: normal;
 text-decoration: none;
}

a:hover {
 font-family: tahoma;
 font-size: 10px;
 color: #91AE08;
 font-weight: normal;
 text-decoration: none;
}





I mam taki problem, hover działa tylko jak wejdę pod dany link, a potem wrócę na tą stronę z której na niego wchodziłem to podświetla, ale jak jeszcze nie wchodziłem pod niego to hover się nie włącza. Co jest nie tak?

Ten post edytował DonJeday 6.02.2009, 08:37:51
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
wookieb
post
Post #2





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Kod
a{
font-family: tahoma;
font-size: 10px;
color: #000000;
font-weight: normal;
text-decoration: none;
}

a:hover {
color: #91AE08;
}


Po co ci była reszta styli w a:hover?

Ten post edytował wookieb 6.02.2009, 09:28:35
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 15.10.2025 - 02:47