Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Zmiana tła - obrazka dla pola input
Malinaa
post
Post #1





Grupa: Zarejestrowani
Postów: 573
Pomógł: 6
Dołączył: 21.07.2008

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


Witam,
chciałbym, aby po najechaniu myszką <input> zmieniał tło na inny obrazek, kolor.

Mam tak:

  1. .inputSOne {
  2. border: 0px;
  3. background: url("../grafika/button_green_60x22.gif") no-repeat;
  4. font-size: 12px;
  5. font-weight: bold;
  6. width: 60px;
  7. height: 22px;
  8. color: #ffffff;
  9. }
  10.  
  11. .inputSOne:hover {
  12. background: url("../grafika/button_orange_60x22.gif") no-repeat;
  13. }


i działa niby ok, ale myślę sobie, że to nie jest najlepszy sposób dla pola <input> ?

Pytanie: czy tak jest napewno OK i jak to zrobić zawodowo, only professional smile.gif


--------------------
I welcome you on the Internet >>> Design by Malina
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 19.08.2025 - 03:03