IE7 und fixierten divs problem

Hintergrund

Ich tun müssen, um ein ziemlich Komplexes layout für einen client mit fester DIV. Alles in Ordnung ist, in IE8, FF3 und Chrome, aber IE7 mangles alle die Sache

Edit: Die fixierten DIVs sind ein muss, nur den content-DIV muss scrollen (das ist die Skillung, sorry)

HTML-und CSS-code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>
    test
</title>

    <!--[if lt IE 8]>

    <![endif]--> 

    <!--[if lt IE 7]>

    <![endif]--> 

</head>

<body style="margin: 10px;">
<div id="wrapper" style="width: 960px; margin: 0 auto; position: relative;  border: 1px solid red; overflow: hidden;">

    <div id="header" style="position: fixed; width: 185px;  height: 600px;  top: 10px;  border: 1px solid blue;">
      header
    </div>

    <div id="content" style="width: 680px; float: left; background: white; margin-left: 185px;  min-height: 600px;  border: 1px solid lime;">
        content
    </div>

    <div id="rightcolumn" style="position: fixed; top: 10px; width: 90px; margin-left: 865px;   height: 600px;border: 1px solid maroon;">
        right
    </div>

</div> 


</body>
</html>

Breite IE8, FF3 und Chrome

IE8, FF3 und Chrome http://img39.imageshack.us/img39/406/firefoxkpd.jpg

Breite IE7

IE7 http://img23.imageshack.us/img23/1315/ie7l.jpg

Notes

Ich bin nicht so besorgt über den IE6, weil ich weiß, dass es nicht unterstützt Fixed Elemente, aber wenn man weiß wie man es beheben, toll!

Fragen

  1. Was sollte ich wissen über den IE7 bugs, das problem zu beheben?
  2. Wie kann ich mich auf die Links in der header-Spalten relativ zu den wrapper -
  3. Warum der header-Spalte geht die das Recht und die Rechte Spalte verschwindet?
Schreibe einen Kommentar