Код:
<html> <head> <style type="text/css"> body { margin: 0; padding: 0; width: 100%; color: WindowText; background: url('/n.gif') no-repeat; background-attachment: fixed; } #controlTop { position:absolute; bottom:0; margin:0; height:0; width:0; overflow:hidden; } #header { width: 100%; height: 20px; padding: 0.5em 0; background-color: ButtonFace; color: ButtonText; position: fixed; bottom: 0; left: 0; //position: absolute; top: expression(document.getElementById('controlTop').offsetTop - 10 + document.getElementsByTagName('body')[0].scrollTop + 'px'); } #content { background: Window url('grid-10.gif'); padding: 2.2em 0; width: 100%; height: 3000px; } </style> </head> <body> <div id="content"> <p>Middle Frame Content</p> </div> <div id="header">Top Frame Content</div> <div id='controlTop'></div> </body> </html>