Witam!
Mam taki problem, gdyż normalnie pola input powinny być wielkości tak jak w css, a są wielkości bardzo małej oraz druga sprawa pod przyciskiem w divie zostaje wolne miejsce, a powinien być już koniec diva. To wszystko dzieje się tylko w IE!
Pod innymi przeglądarkami jest wporządku

oto kod html:

  1. <form action="zaloguj.php" method="post">
  2. <div style="float: left; margin-top: 20px; height: 290px; color: #ffa800; font-weight: bold; font-family: Verdana, Helvetica, Verdana, sans-serif; font-size: 12px;"> <!-- Kolumna -->
  3.  
  4. <div style="border-color: black; border-width: 2px; border-style: solid; width: 190px; height: 125px;"> <!-- Panel -->
  5.  
  6. <div style="text-align: center; color: white; background-color: black; font-size: 12px; font-weight: bold; font-family: Arial, Helvetica, Verdana, sans-serif;">Logowanie</div>
  7.  
  8. Login<input type="text" name="login"/>
  9. Hasło<input type="password" name="haslo"/>
  10. <input type="image" src="obrazki/zaloguj.gif" alt="zarejestruj" style="width: 180px; height: 25px; margin-top: 5px;" />
  11. </form>
  12.  
  13. </div> <!-- Koniec Paneli -->
  14. </div> <!-- Koniec Kolumny -->


a to css:

  1. input
  2. {
  3. margin-top: 10px;
  4. width: 125px;
  5. height: 15px;
  6. margin-left: 5px;
  7. }


w Operze i mozilli też zostaje pod przyciskiem dobre 10 px wolnego miejsca