Anybody know why the following works in IE but not in Firefox? All it does is fix everything above it as a header and let everything below it scroll.
<style>
DIV.documentBody
{
Height: 0px ;
Width: 100% ;
overflow: auto ;
}
</style>
<div id="Body" class="documentBody">
<script language='JavaScript' type='text/javascript'>
var bodyElement = document.body.all['Body'];
function LayoutBodyElement() {
bodyElement.style.posHeight = document.body.offsetHeight- bodyElement.offsetTop;
}
function document.onreadystatechange() {
document.body.scroll = "no";
LayoutBodyElement( );
window.onresize = LayoutBodyElement;
}
</script>