Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [inne][CSS]Google Chrome gubi styl inputa.
-Baaaaaa!-
post
Post #1





Goście







Może najpierw screeny.

(IMG:http://screenshooter.net/data/uploads/je/pw/ahhf.png)

(IMG:http://screenshooter.net/data/uploads/uj/zn/ikcd.png)

(IMG:http://screenshooter.net/data/uploads/ib/pw/agsf.png)

Kod:

HTML:

  1. <input type="text" name="login" placeholder="Login.."/>
  2. <input type="password" name="password" placeholder="Hasło.."/>


CSS:

  1. input[type=text], input[type=password] {
  2. background: transparent url('../img/input.png') no-repeat;
  3. border: 0px;
  4. color: #dacbb1;
  5. font: 10px Verdana, Arial, sans-serif;
  6. width: 150px;
  7. height: 36px;
  8. }


Kilka słów ode mnie (IMG:style_emoticons/default/tongue.gif)

Chciałem użyć w moich inputach, atrybutu placeholder. Wszystko ok, ładnie działa, ale... wpisałem dane, zapamiętałem hasło i teraz, przy wybraniu z listy auto uzupełniania loginu , input w ogóle nie słucha się kodu css. O co chodzi? Na IE 10, FF 20 i Operze wszystko śmiga. Tylko Chrome robi problemy. Wersja 26.
Go to the top of the page
+Quote Post
!*!
post
Post #2





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

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


a jak w css dasz samo:
  1. input{}

To też?
Go to the top of the page
+Quote Post
-Baaaaaa!-
post
Post #3





Goście







też nie działa niestety.
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: 24.08.2025 - 20:06