<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script language="JavaScript">
<!--
function WindowOpen()
{
    var hdlWindow;
    hdlWindow = window.open("", "_blank", "");
    hdlWindow.document.body.bgColor = "#FF0000";
}
//-->
</script>
</head><body onload="WindowOpen()"></body>
</html>

解决方案 »

  1.   

    to gcs925() 
    这样不行吧,我就是这样的啊,改变不了
      

  2.   

    你试过了吗?你可以看看msdn中关于ie的帮助,这样写是好用的。我的机器是win2k server(英文) + ie6(英文)
      

  3.   

    我刚刚在mozila上也试过了,好用的。如果方便,我可以把屏幕截图发给你。
      

  4.   

    var hdlWindow;
        hdlWindow = window.open("WriteEmail.aspx", "_blank", "");
        hdlWindow.document.body.bgColor = "#FF0000";
    打开空页可以,但打开已有的某页这时的背景色就没法改变了