(Gast)
n/a Beiträge
|
AW: [CSS + HTML] Header, Footer und Mittelteil
14. Dez 2010, 12:01
Code:
< html>
<head>
.....
<style type="text/css" media="screen">
html, body {
background-color: #333333;
margin: 0;
padding: 0;
height: 100%;
}
#wrapper {
background-color: #FFFFFF;
width: 80%;
margin: auto;
min-height: 100%;
height:auto !important;
height:100%;
overflow: hidden !important;
}
#headerzeile {
min-height:120px;
height:auto !important;
height:120px;
background:lime;
overflow: hidden !important;
}
#content {
overflow: hidden !important;
}
#fusszeile {
background:lime;
width: 80%;
position:absolute;
bottom:0
}
</style>
</head>
<body>
<div id="wrapper">
<div id="headerzeile">Kopfzeile</div>
<div id="content">Inhalt</div>
<div id="fusszeile">Fusszeile</div>
</div>
</body>
</ html>
ungetestet
|
|
Zitat
|