XaraX: Verzweifle bald an einem CSS-Layout

Beitrag lesen

Hallo Michael,

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
 <title>test</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
 <style type="text/css">
  html {height:100%;margin:0px;padding:0px}
 </style>
</head>
<body style="height:100%;background:black;text-align:center;color:#fff;margin:0px;padding:0px">
 <div style="height:50%;margin-bottom:-150px"> </div>
 <div style="margin:auto;border:5px solid #888;height:300px;width:580px">
  <div style="border:1px solid #777;height:19px">1</div>
  <div style="border:1px solid #777;float:left;width:100px;height:256px">2</div>
  <div style="border:1px solid #777;float:left;width:374px;height:256px">3</div>
  <div style="border:1px solid #777;float:left;width:100px;height:256px;overflow:auto">4</div>
  <div style="border:1px solid #777;float:left;width:100px;height:19px">5</div>
  <div style="border:1px solid #777;float:left;width:374px;height:19px">6</div>
  <div style="border:1px solid #777;float:left;width:100px;height:19px">7</div></div>
</body>
</html>

Das Layout ist zwar in px zementiert, schließt aber bündig ab, da scheint also nicht das Problem zu liegen... ja aber wo ist es denn dann?

Gruß aus Berlin!
eddi