摘要: 用document.getElementById(‘element').style.xxx可以获取元素的样式信息, 可是它获取的只是DOM元素style属性里的样式规则,对于通过class属性引用的外部样式表就获取不到了 IE可以识别 currentStyle ,其他浏览器可以识别 getCompu 阅读全文
posted @ 2017-10-24 14:04 Esther_Cheung 阅读(209) 评论(0) 推荐(0)