Ja, table er id'et på min table. Ok, hvor skal jeg placere den istedet?
---MIN KODE------------------------------------------>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"<html>
<head>
<title>Thirstdays</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-image: url(pattern7.gif);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body id="table">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#00FF00" id="heightCalculated"></td>
<td></td>
</tr>
<tr>
<td></td>
<td align="left" valign="top" ><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="550">
<param name="movie" value="flash.swf">
<param name="quality" value="high">
<embed src="flash.swf" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="550"></embed>
</object></td>
</tr>
</table>
<SCRIPT language="JavaScript">
//alert(table.offsetWidth);
alert("H "+table.offsetHeight+" - W "+table.offsetWidth);
var hCalc = 22*Math.floor((table.offsetHeight-449)/44);
var wCalc = 22*Math.floor((table.offsetWidth-700)/44);
//alert("h "+hCalc+" w "+wCalc);
document.getElementById('heightCalculated').style.height = hCalc + 'px';
document.getElementById('heightCalculated').style.width = wCalc + 'px';
</SCRIPT>
</body>
</html>