Guten Tag,
ich habe ein Problem damit mein Content Div auf height: 100% zu schaltet. Geht das überhaupt mit Divs? Ich hab gestern den Umstieg auf Divs gewagt.
Falls ich essentielle Fehler im Layout habe, bitte ein Tip
Hier das Layout:
Code:
<html>
<head>
<style type="text/css">
* {
margin: 0px;
padding: 0px;
}
body {
height: 100%;
}
#wrapper {
width: 980px;
background-color: #ababab;
}
#header {
width: 980px;
height: 168px;
background-color: #232323;
}
#spacer-le {
width: 15px;
height: 56px;
background-color: #9cccc7;
float: left;
}
#spacer-ri {
width: 15px;
height: 56px;
background-color: #96bcc3;
float: right;
}
#spacer-mi {
width: 950px;
height: 56px;
background-color: #ccc567;
float: left;
}
#content-le {
width: 220px;
height: 100%;
background-color: #994567;
float: left;
}
#content-ri {
width: 220px;
height: 100%;
background-color: #6bf623;
float: right;
}
#content-mi {
width: 540px;
height: 100%;
background-color: #999997;
float: left;
}
#footer-le {
width: 15px;
height: 56px;
background-color: #9cccc7;
float: left;
}
#footer-ri {
width: 15px;
height: 56px;
background-color: #96bcc3;
float: right;
}
#footer-mi {
width: 950px;
height: 56px;
background-color: #ccc567;
float: left;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header"></div>
<div id="spacer-le">a</div>
<div id="spacer-ri">b</div>
<div id="spacer-mi">c</div>
<div id="content-le">d</div>
<div id="content-ri">e</div>
<div id="content-mi">f</div>
<div id="footer-le">g</div>
<div id="footer-ri">h</div>
<div id="footer-mi">i</div>
</div>
</body>
</html>