Fast,
hier Dein geänderter Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head><title>position</title>
<style type="text/css">
body { margin:0; padding:0; height:100%; background-color:grey; }
#f1 { position:fixed; width:499px; height:79px; background-color:red;}
#f2 { position:fixed; width:479px; height:79px; left:499px; background-color:green; }
#f3 { position:fixed; width:149px; height:350px; top:79px; background-color:blue; }
#f45 { position:absolute; top:79px; left:149px; }
#f4 { width:679px; min-height:430px; background-color:yellow; }
#f5 { width:680px; height:80px; background-color:green; }
#f6 { position:fixed; width:149px; bottom:0px; top:79px; left:828px; background-color:red; min-height:350px;}
</style>
</head>
<body>
<div id="f1">frame1</div>
<div id="f2">frame2</div>
<div id="f3">frame3</div>
<div id="f45">
<div id="f4">frame4
<?php
for ($x=0;$x<45;$x++) {
echo"TEST ".$x."<br>";
}
?>
</div>
<div id="f5">frame5</div>
</div>
<div id="f6">frame6</div>
</body>
</html>
So sollte es aussehen, aber NUR f4 sollte einen Scrollbalken haben, und f6 steht fest, darf nicht mitscrollen, immer sichtbar am unteren Rand von f4, egal wie weit sich f4 nach unten ausdehnt. f1,f2,f3,f45 und f5 müssen position:fixed sein.
Gruss
Thorsten