Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML] Problem z ramką
Szwejk
post 31.08.2011, 00:05:17
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.



  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 31.08.2011, 00:12:23
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 31.08.2011, 00:38:05
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 ?


--------------------
“ Computers are good at following instructions, but not at reading your mind. ”
- Donald Knuth
Go to the top of the page
+Quote Post
Szwejk
post 31.08.2011, 09:48:47
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 31.08.2011, 09:54:42
Post #5





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

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


Zamiast input używaj button.


--------------------
Nie udzielam pomocy poprzez PW i nie mam GG.
Niektóre języki programowania, na przykład C# są znane z niezwykłej przenośności (kompatybilność ze wszystkimi wersjami Visty jest wiele warta).
Go to the top of the page
+Quote Post
Szwejk
post 31.08.2011, 09:56:25
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 31.08.2011, 10:07:11
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/


--------------------
“ Computers are good at following instructions, but not at reading your mind. ”
- Donald Knuth
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 19.07.2025 - 05:01