Forum Moderators: open
Due to a problem with NN6 using my #main margin incorrectly, I decided to use js to fix the problem. The following js works in WIN98 but appears to not work in WIN/XP. Is there a way to change this script to fix this or is there a different one that I should use. Thank you.
<script type="text/javascript" language="JavaScript">
<!--
// test Netscape Navigator 6, if yes: give position:absolute for #main
if (navigator.userAgent.indexOf("Netscape6")!= -1) {
document.write('<style
type="text\/css"\>#main\{position:absolute;\}<\/style\>') }
//-->
</script>