给你一个例子:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>固定用户的浏览器大小</title>
</head>
<body onresize="window.resizeTo(window.screen.width,window.screen.height);window.moveTo(0,0);">
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>固定用户的浏览器大小</title>
</head>
<body onresize="window.resizeTo(window.screen.width,window.screen.height);window.moveTo(0,0);">
</body>
</html>
<object id=hhctrl classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Maximize"></object>
</body>本例适用IE