Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Wstawianie pseudoklasy hover do html'a
suhy
post
Post #1





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 17.02.2008

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


witam. mam problem jak wkleic
Kod
a {
    background-image: url('adres/obrazek.png');
    background-repeat: no-repeat;
    width: 200px;
    height: 150px;
    display: block;
}
a:hover {
    background-image: url('adres/obrazek_hover.png');
    background-repeat: no-repeat;
    width: 200px;
    height: 150px;
}


do htmla zeby dzialalo
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Wicepsik
post
Post #2





Grupa: Zarejestrowani
Postów: 1 575
Pomógł: 299
Dołączył: 26.03.2009

Ostrzeżenie: (20%)
X----


  1. <style type="text/css"><!--
  2. a {
  3. background-image: url('adres/obrazek.png');
  4. background-repeat: no-repeat;
  5. width: 200px;
  6. height: 150px;
  7. display: block;
  8. }
  9. a:hover {
  10. background-image: url('adres/obrazek_hover.png');
  11. background-repeat: no-repeat;
  12. width: 200px;
  13. height: 150px;
  14. }
  15. --></style>
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: 3.10.2025 - 05:08