Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> <input tupe="text"> zmiana koloru pola, Jak zmienić kolor tego pola ??
Tracid
post
Post #1





Grupa: Zarejestrowani
Postów: 26
Pomógł: 0
Dołączył: 27.10.2004

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


Chciałbym zmienić kolor pola gdzie sie wpisuje text chodzi o <input tupe="text">
Jaki nalezy wpisac kod w <style> </style>
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 5)
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




  1. <input type="text" style="color:red" />
Go to the top of the page
+Quote Post
Indianin
post
Post #3





Grupa: Zarejestrowani
Postów: 247
Pomógł: 0
Dołączył: 19.04.2003
Skąd: Hamburg / Darlowo

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


tectarea
(
background_color:xxx;
)
Go to the top of the page
+Quote Post
Tracid
post
Post #4





Grupa: Zarejestrowani
Postów: 26
Pomógł: 0
Dołączył: 27.10.2004

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


EDIT:
Nie dziala to (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) Wstawiłem kod <input type="text" name="login" size="11" style="color:red" /> ale pole jest nadal biale (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

a zeby zmienic jeszcze kolor ramki (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)

Bardziej mi zalezy o kod ktory trzeba wpisac w <style> </style>

Ten kod nie dziala bo widzę że jest bldny :/

tectarea
(
background_color:red;
)


WPisałem:
.textarea{
background-color:red;


}

Ale to takze nie dziala (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Ten post edytował Tracid 4.08.2005, 12:32:46
Go to the top of the page
+Quote Post
mike
post
Post #5





Grupa: Przyjaciele php.pl
Postów: 7 494
Pomógł: 302
Dołączył: 31.03.2004

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


Wysil się i poszukaj.
Odpowiedzi znajdziesz tutaj: Spis tagów (X)HTML i atrybutów CSS

No chyba że masz zamiar oddzielnie potem zapytać o kolor czcionki, tła, rozmiar, obramowanie, ...
border
background
...

--- Edit ---
Na przykład tak:
  1. input.text
  2. {
  3. margin: 1px;
  4. padding: 2px;
  5. height: 14px;
  6. background-color: #CDCDCD;
  7. border: 1px solid #949494;
  8. font-family: Tahoma, Verdana, Arial, sans-serif;
  9. font-size: 11px;
  10. }
  11.  
  12. textarea {
  13. margin: 1px;
  14. padding: 2px;
  15. background-color: #FFFFFF;
  16. border: 1px solid #949494;
  17. font-family: Tahoma, Verdana, Arial, sans-serif;
  18. font-size: 12px;
  19. }

  1. <input type="text" name="" class="text" />
  2. <textarea name=""></textarea>


Ten post edytował mike_mech 4.08.2005, 12:37:06
Go to the top of the page
+Quote Post
Tracid
post
Post #6





Grupa: Zarejestrowani
Postów: 26
Pomógł: 0
Dołączył: 27.10.2004

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


OK dzieki ogromne pomogło dalej dam se już rade (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
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 - 12:42