try this, do me a favor andf leave the reference to where the script cam efrom in it. most of it was jsut positional issues like where your style tags were. just change the image to a valid image on your machine
<html>
<head>
<style>
A:link {COLOR: #808080; TEXT-DECORATION: none}
A:visited {COLOR: #808080; TEXT-DECORATION: none}
A:hover {COLOR: #c0c0c0; TEXT-DECORATION: none}
A:active {COLOR: #808080; TEXT-DECORATION: none}
</style>
<script language="javascript">
<!--
//code from Nik Haldimann Web Developer, xmedia
//http:
function winWidth() {
if (self.innerWidth)
return self.innerWidth;
else if (document.documentElement &&
document.documentElement.clientWidth)
return document.documentElement.clientWidth;
else if (document.body)
return document.body.clientWidth;
}
function winHeight() {
if (self.innerHeight)
return self.innerHeight;
else if (document.documentElement &&
document.documentElement.clientHeight)
return document.documentElement.clientHeight;
else if (document.body)
return document.body.clientHeight;
}
// -->
</script>
</head>
<body>
<div id="background" style="position: absolute; top: 0px; left: 0px">
<script language="javascript">
<!--
if (winWidth() && winHeight()) { // this test necessary for browsers not
//returning screen dimensions
document.write('<img src="6.gif" width="' + winWidth() + '"height="' + winHeight() + '">');
}
// -->
</script>
</div>
<div id="content" style="position: absolute; top: 0px; left: 0px">
<table border="1" width="101%" cellspacing="0" cellpadding="0" height="500">
<tr>
<td width="20%" valign="top"><font size=1 face="TAHOMA">
<font size=1 face="VERDANA">NAVIGATION-</font><br>
<a href="">cool</a>
</td>
<td width="60%" valign="top"><font size=1 face="TAHOMA">
<font size=1 face="VERDANA">NAVIGATION-</font><br>
cool
</td>
<td width="20%" valign="top"><font size=1 face="TAHOMA">
<font size=1 face="VERDANA">NAVIGATION-</font><br>
cool
</td>
</tr>
</table>
</div>
</body>
</html> I dare to learn more
admin@onpntwebdesigns.com