测了一下,还可以,在IE6、IE7、FIREOFX等都没有问题! 窗口缩小时也没有问题! 代码如下:[removed] function test(){ var infoHeight = document.getElementById(“info”).scrollHeight; var bottomHeight = document.getElementById(“bottom”).scrollHeight; var allHeight = document.documentElement.clie