Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html/css] display: inline-block input i label w jednej lini problem z ie
kml90
post
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 24.01.2007

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


Witam,
mam taki problem, chcę aby w formularzu label i input były w jednej linii, wszędzie super działa a w ie się rozsypuje.
  1. <div class="pole"><label>Imię i nazwisko:</label>
  2. <input type="text" name="imienazwisko" /></div>


css
  1. .pole {display: inline-block; width: 414px; height: 20px; margin-bottom: 10px;}
  2. .pole label {display: inline-block; margin: 5px 5px; text-align: right; width: 78px;}
  3. .pole input[type="text"] {display: inline-block; float: right; border: 1px solid #8b92a0; background: #ffffff; color: #000000; font-size: 9pt; width: 321px; height: 20px;}


input i label są liniowe dlatego wydaje mi się, że powinno działać ale nie wiem jak to pogodzić
pozdrawiam
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: 23.12.2025 - 11:37