Hallo, ich habe ein Problem mit den Div Containern.
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Neue Seite 1</title>
</head>
<body>
<div style="width: 1000px; height: 1400px;">
<div style="width: 1000px; height: 23px; background:url('images/top.png');">
</div>
<div style="float: left; width: 163px; height: 1200px; background: #545454; border: 0px; padding: 0px">
Text
</div>
<div style="float:right; width: 170px; height: 1200px; background: #FF00FF; border: 0px; padding: 0px">
Text
</div>
<div style="width: 667px; height: 132px; background: #FF0000; margin-left: 163px; border: 0px; padding: 0px">
</div>
</div>
</body>
</html>
Alles anzeigen
dies ist mein Code. Das Problem ist jetzt, dass der rote Container bei IE unterhalb der anderen container ist und nicht dazwischen. Im klartext, der Browser scheint in den Quirks mode zu schalten. bei firefox geht es. doch was mache ich falsch, dass er im IE im quirks modus bleibt?