Chris: Probleme mit DIV in IE

Hi,

wieso hat die Box Navigation im IE einen Abstand von 200px zum linken rand und in Opera und FF die eingestellten 100px?
Ich habe schon Quirks und Standard Mode probiert, aber da ändert der IE nichts dran. :(
Ich habe hier den IE 6.0 installiert.

  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">  
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">  
<title>Unbenanntes Dokument</title>  
<style type="text/css">  
<!--  
body  
{  
 margin      : 0px;  
 padding      : 0px;  
 color      : #000000;  
 font-family     : Verdana, Arial, Helvetica, sans-serif;  
 font-size     : 12px;  
 min-width     : 40em;  
 background-color   : #FFFFFF;  
}  
  
#Header  
{  
 float      : left;  
 height      : 148px;  
 width      : 100%;  
 margin      : 0px 0px 0px 0px;  
 padding      : 0px 0px 0px 0px;  
 background-image   : url(images/Logo.gif);  
 background-repeat   : no-repeat;  
 background-position   : 5px 5px;  
 background-color: #00FFCC;  
}  
#Navigation  
{  
 float      : left;  
 width      : 820px;  
 height      : 49px;  
 margin      : 0px 0px 0px 100px;  
 padding      : 0px 0px 0px 0px;  
 background-color: #FF0000;  
}  
-->  
</style>  
</head>  
  
<body>  
  
 <div id="Header">  
  
  <div id="Navigation">  
Box im IE 200 px von links entfernt :(  
  </div>  
 </div>  
  
</body>  
</html>  
  

  1. Hallo,

    wieso hat die Box Navigation im IE einen Abstand von 200px zum linken rand und in Opera und FF die eingestellten 100px?

    Das nennt sich "The IE Doubled Float-Margin Bug".

    viele Grüße

    Axel

    1. Ahja .. danke euch :)

  2. Hi,

    wieso hat die Box Navigation im IE einen Abstand von 200px zum linken rand und in Opera und FF die eingestellten 100px?

    weil er doof ist.

    Cheatah

    --
    X-Self-Code: sh:( fo:} ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
    X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
    X-Will-Answer-Email: No
    X-Please-Search-Archive-First: Absolutely Yes