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

Beitrag lesen

Hallo,

ich seh bei dir kein wirkliches Problem. Bei mir "funktioniert" es so

[code lang=html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<style type="text/css">
<!--
body, html {
 padding:0;
 color: #000000;}
#aussen {
 position:absolute;
 width:100%;
 background:#333333;}
#ebene1 {
 position:absolute;
 float:left;
 width:10em;
 height:100%;
 background:#3333CC;}
#ebene2 {
 margin-left:12em;
 width:30em;
 height:800px;
 background:#990000;}
-->
</style></head>

<body>
<div id="aussen">
 <div id="ebene1">
 &nbsp;
 </div>
 <div id="ebene2">
 &nbsp;
 </div>
</div>
</body>
</html>
[/code ]

Grüße, Matze