Frank: DIV: 100% nur angezeigter Bereich im Browser?

Beitrag lesen

Hallo zusammen,

ich habe eine Seite mit 2-Spalten DIVs:

<html>
<head>
<title>Divs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
html,body{
  padding:0px;
  margin:0px;
  height: 100%;
 background:#333
}
</style>
</head>

<body bgcolor="#FFFFFF" text="#000000">
 <div id="Ebene1" style="position:absolute; width:90; height:100%; z-index:1; left: 0; top: 0; background-color: #00FF00; layer-background-color: #00FF00; border: 1px none #000000; overflow: visible; visibility: visible"></div>

<div id="Ebene2" style="position:absolute; width:200px; height:500px; z-index:2; left: 424px; top: 4px; background-color: #0000FF; layer-background-color: #0000FF; border: 1px none #000000; overflow: visible; visibility: visible">
</div>
</body>
</html>

Wird nun der Browser in der Höhe stark minimiert, so wird der DIV "Ebene1" nur so hoch angezeigt, wie der sichtbare Bereich ist. Es wird also nicht 100% der Seite interpretiert (trotz HTML und Body 100%)...

Was mache ich falsch?

Danke und schöne Grüße
Frank