basti: problem mit css und doctype

Beitrag lesen

hi wahsaga,

bei bedarf soll heissen, wenn der inhalt im contentContainer entsprechend groß ist.

hier der code:

<html>
<head>
<title></title>
<style type="text/css">
body
 {
 margin:0px;
 overflow: hidden;
 border: 0px;
 padding-top:114px;
 padding-bottom:10px;
 }

#logoRight
 {
 position:absolute;
 width:100%;
 height:114px;
 top:0px;
 left:0px;
 background-color:#ff0;
 }

#contentContainer
 {
 position:relative;
 top:0px;
 left:0px;
 width:100%;
 height:100%;
 background-color:#f90;
 overflow:auto;
 }

#greenLineBottom
 {
 position: absolute;
 left:0px;
 top: 100%;
 width:100%;
 height:10px;
 margin-top: -10px;
 background-color:#33cc33;
 }
</style>

</head>
<body>
<div id="logoRight"></div>
<div id="contentContainer"></div>
<div id="greenLineBottom"></div>
</body>
</html>

grüße basti