Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> formularz, pozycjonowanie checbox
Thuunder
post
Post #1





Grupa: Zarejestrowani
Postów: 234
Pomógł: 1
Dołączył: 29.10.2004

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


Witam,
Mam taki formularz:
  1. fieldset ul {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. fieldset li {
  6. list-style: none;
  7. margin: 0;
  8. padding: 5px;
  9. }
  10. label {
  11. display:-moz-inline-box;
  12. display:inline-block;
  13. width: 250px;
  14. }
  15. ....
  16.  
  17. <ul>
  18. <li>
  19. <label for="pole">opis 1</label>
  20. <input id="pole" type="text" />
  21. </li>
  22. <li>
  23. <label for="pole2">opis 2</label>
  24. </li>
  25. </ul>


<input type="checkbox"> opcja 1<br/>
<input type="checkbox"> opcja 2<br/>
<input type="checkbox"> opcja 3<br/>


Jak wstawić kilka input type="checkbox" w miejsce (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) , żeby pola były ustawione jak "pole" tj. jeśli pole,pole2 mają szerokośc 250px to,żeby checkboxy były równo 250px od lewej. W tej chwili jest tak,że 1 jest ok, ale dwa kolejne spadają do drugiej linii ?
Go to the top of the page
+Quote Post

Posty w temacie


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: 29.09.2025 - 12:39