ello: was ist hier falsch??

Beitrag lesen

  
  
<html>  
<head>  
<title>Atelier f&uuml;r Werbung und Design Reiner Kamp</title>  
<meta name="author" content="ello">  
<link rel="stylesheet" type="text/css" href="daten/styles.css">  
<style type="text/css">  
<!--  
body {  
 scrollbar-3dlight-color:#fff;  
 scrollbar-arrow-color:#fff;  
 scrollbar-darkshadow-color:#fff;  
}  
-->  
</style>  
<script language="JavaScript">  
<!--  
//window.moveTo(0,0);  
//window.resizeTo(screen.availWidth,screen.availHeight);  
  
function zentrieren() {  
  
 document.getElementById('mainframe').style.position='absolute';  
 document.getElementById('mainframe').style.top=(document.body.offsetHeight-313)/2;  
 document.getElementById('mainframe').style.left=(document.body.offsetWidth-606)/2;  
 if(document.getElementById('mainframe').src=="leer.html") {  
  document.getElementById('mainframe').src="intro.html";  
 }  
}  
window.onresize=zentrieren;  
  
//-->  
</script>  
</head>  
<body onLoad="zentrieren()">  
<center>  
<iframe src="leer.html" width=606 height=513 scrolling=no frameborder=0 id="mainframe">  
</body>  
</html>  
  

alles wunderbar mit InternetExplorer, aber absolut garnix beim FireFox... warum??