Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [css] ukladanie inputow, display:block
skowron-line
post
Post #1





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

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


  1. <head>
  2. <style type="text/css">
  3. input {
  4. display:block;
  5. }
  6. </style>
  7. </head>
  8. <body>
  9. <div id="main">
  10. <form action="" method="post" id="form">
  11. nazwa<input type="text" name="b">
  12. haslo?tak:<input type="checkbox" name="c">
  13. <input type="text" name="a">
  14. <input type="submit">
  15. </form>
  16. </div>
  17. </body>
  18. </html>

jak ulożyc to wyżej zeby wygladalo tak:

nazwa
input
opis
textarea
haslo?tak czekboks
input

edit:bledy poprawione

Ten post edytował skowron-line 23.11.2006, 10:22:53
Go to the top of the page
+Quote Post
lopik
post
Post #2





Grupa: Zarejestrowani
Postów: 340
Pomógł: 0
Dołączył: 7.07.2006

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


A czemu nie używasz ważnego <label> i display:block; lub table ?
Go to the top of the page
+Quote Post
skowron-line
post
Post #3





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

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


o labelu nie pomyslalem a tabelce nawet pod uwage nie bralem
Go to the top of the page
+Quote Post
lopik
post
Post #4





Grupa: Zarejestrowani
Postów: 340
Pomógł: 0
Dołączył: 7.07.2006

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


Nie chodziło mi o tabele, tylko display:table; (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Tabel nie lubię (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
skowron-line
post
Post #5





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

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


Kod
Nie chodziło mi o tabele, tylko display:table; smilingsmiley.gif


(IMG:http://forum.php.pl/style_emoticons/default/guitar.gif) no to zle sie zrozumielismy dzieki za naprostowanie
Go to the top of the page
+Quote Post
Zajec
post
Post #6





Grupa: Zarejestrowani
Postów: 1 086
Pomógł: 8
Dołączył: 10.12.2003

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


1) ułoż
2) wyżej
3) http://zajec.net/test/formularz dorzuć "display: block" dla input i pobaw się szerokościami
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: 26.08.2025 - 16:31