Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS]Podmiana obrazka po najechaniu myszką
northwest
post
Post #1





Grupa: Zarejestrowani
Postów: 788
Pomógł: 1
Dołączył: 17.09.2004

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


Witam serdecznie,
Mam taki formularz:
  1. <form action="kontakt.html" method="post">
  2. <label>&nbsp;Imię i Nazwisko:</label>
  3. <input type="text" value="" name="imie"/>
  4. <label>&nbsp;Firma:</label>
  5. <input type="text" value="" name="nazwisko"/>
  6. <label>&nbsp;Telefon:</label>
  7. <input type="text" value="" name="telefon"/>
  8. <label>&nbsp;E-mail:</label>
  9. <input type="text" value="" name="kontakt"/>
  10. <label style="position:relative; left:10px; ">
  11. <label>&nbsp;Wiadomość:</label>
  12. <textarea name="tresc" style="position:relative;left:9px; width:421px;height: 207px;top:-3px"></textarea>
  13. <button type="submit" value="" class="zapiszz333"/>
  14. </form>


i do tego kod CSS:
  1. button.zapiszz333{
  2. display: block;
  3. width: 87px;
  4. height: 35px;
  5. background-image: url(images/sender.png);
  6. overflow: hidden;
  7.  
  8. cursor: pointer;
  9. margin:1px -15px -0px 270px;
  10. }
  11. button.zapiszz333:hover{
  12. display: block;
  13. width: 87px;
  14. height: 35px;
  15. background-image: url(images/sender.png);
  16. overflow: hidden;
  17. margin-left: -60px;
  18. cursor: pointer;
  19. margin:1px -15px -0px 270px;
  20. }

obrazek wygląda tak:


Chciałbym żeby po najechaniu myszką była widoczna wersja podświetlona napisu,a momencie gdy nie jest - to bez podświetlenia...

Wie ktoś może co robię nie tak??sad.gif

North
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: 22.08.2025 - 09:04