Vise tabel 100% fra top til bund i IE Explorer og Netscape.
Hej.Jeg har lavet denne side: http://www.studenterforum.dk
Jeg vil gerne have at siden, uanset brugerens skærmopløsning, går helt fra toppen af browseren til bunden. Det ser ud til at virke i IE, men i Netscape slutter tabellen, hvor indholdet er i, ca. 3 cm fra bunden. Hvordan får jeg det vist korrekt i begge browsere?
Kode:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Studenterforum.dk</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<link href="NyTekst.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#505050"topMargin=0 marginheight="0" marginwidth="0">
<div align="center">
<table width="706" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1" height="80" valign="top"></td>
<td height="80" colspan="2" valign="top"><img src="bannere/banner2.jpg" width="707" height="80"></td>
</tr>
<tr>
<td width="1" height="21" valign="top"></td>
<td height="21" colspan="2" valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td width="1" height="495" valign="top"> </td>
<td width="706" height="495" valign="top" bgcolor="#F5F5F5"><div align="left">
<table width="3%" height="20" border="0">
<tr>
<td><div id='MenuPos' style='position:relative; width:50px; height:49px; left: 79px; top: -20px;'></div></td>
</tr>
</table>
<div align="center"> <br>
</div>
<div align="center"> <br>
<br>
<br>
</div>
<div align="center"> </div>
<div align="center"> <br>
</div>
<p align="center"><br>
<br>
<br>
<br>
</p>
<div align="center">
<p><br>
<br>
</p>
</div>
</div></td>
</tr>
</table>
</div>
<script type='text/javascript'>function Go(){return}</script>
<script type='text/javascript' src='SinglePage_var.js'></script>
<script type='text/javascript' src='menu9_com.js'></script>
</body>
</html>
PS: Jeg benytter desuden en dynamisk menu på siderne - jeg hører gerne fra jer hvis der er problemer med at se den i isæt Netscape.