Antipitch: Div height 100% + Container

Beitrag lesen

Bitte?

Was siehst du denn in deinem IE 6, wenn du dir das hier anguckst?

----------------------------------------------------------------

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>

<style type="text/css">
body {
 padding:0;
 margin:0;
 height:100%;
 }
html {
 height:100%;
 }
#content {
height: 100%;
background-color: #999999;
}
#header {
  width: 100%;
  height: 100px;
  background-color: #ff0000;
  }
</style>
</head>
<body>
<div id="content">
<div id="header">&nbsp;</div>
</div>
</body>
</html>

---------------------------------------------------------------

Gruß
Antipitch