Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [css][html] Ie nie interpretuje prawidłowo margin-top
poxrimex
post
Post #1





Grupa: Zarejestrowani
Postów: 368
Pomógł: 2
Dołączył: 23.09.2007

Ostrzeżenie: (60%)
XXX--


Tak jak w temacie
w Operze i Mozilli wszystko ok wówczas gdy:
na początku jest:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">


Wracając do Internet Explorer: to gdy jest margin-top: 0px; to Ie wyświetla 1px;

  1. <div style="border-color: black; border-width: 2px; border-style: solid; width: 190px; max-height: 120px; margin-bottom: 0px; padding: 0px; margin-bottom: 0px;"> <!--Panel-->
  2. <div style="text-align: center; color: white; background-color: black; font-size: 12px; font-weight: bold; font-family: Arial, Helvetica, Verdana, sans-serif; margin-bottom: 0px;">Logowanie</div>
  3. <form action="zaloguj.php" method="post" style="display: inline">
  4. <div style="height: 25px;">Login<input type="text" name="login" style="width: 125px; margin-left: 5px;"/></div>
  5. <div style="height: 22px;">Hasło<input type="password" name="haslo" style="width: 125px; margin-left: 5px;"/></div>
  6. <input type="image" src="zaloguj.gif" alt="zarejestruj" style="width: 180px; height: 25px; margin-top: 5px;" />
  7. </form>
  8. </div> <!-- Koniec Paneli-->


już nie wiem o co z tym chodzi ;/


--------------------



Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 05:19