I am trying to set a browser window to a particular size using the code below. When I load the page the size doesn't change. I am looking at it through firefox,but I also looked at it through safari but still there is no change. I am following several examples that i found online, and it seems like i am doing everything that was in the tutorial. What am i doing wrong????
<!DOCTYPE html>
<html>
<head>
<style>
body
{
background-image:url('tri_tespic.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
}
</style>
<script type="text/javascript">
function changeScreenSize(w,h)
{
window.resizeTo( w,h )
}
</script>
</head>
<body onload="changeScreenSize(818,50)">
</body>
</html>