Fandt frem til dette:
------------------------------------
<script type="text/javascript">
//browser test
if ( window.navigator.userAgent.indexOf("MSIE")>=0 )
{
var ie = true;
}
else
{
var ie = false;
}
//size
function winSize()
{
if (ie)
{
var w = document.body.scrollWidth + 7;
var h = document.body.scrollHeight + 54;
//alert("ie: " + w + "x" + h);
}
else
{
var w = document.documentElement.offsetWidth + 6;
var h = document.documentElement.offsetHeight + 46;
//alert("ff: " + w + "x" + h);
}
window.resizeTo(w,h);
}
window.onload = winSize;
</script>
------------------------------------
Værdierne som man så ligger til, kan sikkert variere.. Men de passer til mit formål.
Hele min side, ser iøvrigt således ud:
------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="standard.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
//browser test
if ( window.navigator.userAgent.indexOf("MSIE")>=0 )
{
var ie = true;
}
else
{
var ie = false;
}
//size
function winSize()
{
if (ie)
{
var w = document.body.scrollWidth + 7;
var h = document.body.scrollHeight + 54;
//alert("ie: " + w + "x" + h);
}
else
{
var w = document.documentElement.offsetWidth + 6;
var h = document.documentElement.offsetHeight + 46;
//alert("ff: " + w + "x" + h);
}
window.resizeTo(w,h);
//window.moveTo(((screen.width -w) / 2)),((screen.height -h) / 2)));
}
window.onload = winSize;
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<?php include ("sti/til/mappe/fil.php");?>
</body>
</html>
---------------------------------