用js控制两个div的高度一致,div1.style.height=div2.offsetHeight怎么没用呢?IE有效的,,非IE系列全部失效,但是用console.log(div2.offsetHeight) 有数据的[解决办法]http://www.itdos.com/javascript/86.html