阅读背景:

currentStyle、getComputedStyle 获取样式

来源:互联网 

style.height 获取的是行间的样式

currentStyle.height、getComputedStyle(elem,null).height 获取的是 div 的 content 的宽高,currentStyle.height、ge




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: