Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML] Problem z ramką
Szwejk
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 24.08.2011

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


Witam mam pewien problem z niechcianą ramką. W operze i firefoxie jej nie ma, ale niestety w chrome i ie już tak.

(IMG:http://iv.pl/images/40331665477156389881.png)

  1. <input type="image" id="button" title="Dodaj rolę" />


  1. #button
  2. {
  3. background: url(images/dodaj.gif) no-repeat;
  4. height:15px;
  5. overflow:hidden;
  6. width:38px;
  7. }
  8. #button:hover
  9. {
  10. background-position: 0px -15px;
  11. }


W jaki sposób mogę się pozbyć ramki?
Go to the top of the page
+Quote Post
Rid
post
Post #2





Grupa: Zarejestrowani
Postów: 715
Pomógł: 47
Dołączył: 5.12.2010

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


Nie wiem jak w chrome ale w ie hover jest interpretowany nieprawidłowo.
Go to the top of the page
+Quote Post
tolomei
post
Post #3





Grupa: Zarejestrowani
Postów: 450
Pomógł: 135
Dołączył: 18.11.2010
Skąd: Wschowa

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


Z ramką?
Może daj mu styl border: 0px ?
Go to the top of the page
+Quote Post
Szwejk
post
Post #4





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 24.08.2011

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


Próbowałem już z borderem ale nic to nie zmieniło : x
Go to the top of the page
+Quote Post
!*!
post
Post #5





Grupa: Zarejestrowani
Postów: 4 298
Pomógł: 447
Dołączył: 16.11.2006

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


Zamiast input używaj button.
Go to the top of the page
+Quote Post
Szwejk
post
Post #6





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 24.08.2011

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


Działa! dzięki Ci dobry człowieku : D
Go to the top of the page
+Quote Post
tolomei
post
Post #7





Grupa: Zarejestrowani
Postów: 450
Pomógł: 135
Dołączył: 18.11.2010
Skąd: Wschowa

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


podaj mu adres obrazka w atrybucie
http://jsfiddle.net/tRrhf/
Go to the top of the page
+Quote Post

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: 23.08.2025 - 09:46