//设置滚动条的宽度 document.all("dvBody").style.width = document.body.clientWidth - 10; document.all("dvBody").style.height = document.body.clientHeight - document.all("dvBody").offsetTop - 10; function UpdateDIVWidth() { document.all("dvBody").style.width = document.body.clientWidth -10; document.all("dvBody").style.height = document.body.clientHeight - document.all("dvBody").offsetTop - 10; } BODY里面加入 onResize = "UpdateDIVWidth" 相关文章: