Yerf!
Nur um Missverständnisse vorzubeugen, ich meinte mit verankert nur solange nicht genug Inhalt in mittleren Bereich ist, ansonsten natürlich normales Scrollverhalten, also kein mittleres scrollbares Div oder sowas.
Wie wärs fürn Anfang damit:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Test</title>
<style type="text/css">
html{height:100%; margin:0;}
body{min-height:100%; position:relative;margin:0;}
* html body {height:100%;}
#content{padding-top:100px;padding-bottom:100px;}
#head{position:absolute;top:0;width:100%;height:100px;background-color:red;}
#footer{position:absolute;bottom:0;width:100%;height:100px;background-color:blue;}
</style>
</head>
<body>
<div id="head"> </div>
<div id="content">TEST</div>
<div id="footer"> </div>
</body>
</html>
Getestet in FF3 und IE6
Gruß,
Harlequin
--
<!--[if IE]>This page is best viewed with a webbrowser. Get one today!<![endif]-->
<!--[if IE]>This page is best viewed with a webbrowser. Get one today!<![endif]-->