hi, 欢迎访问我的博客
摘要: 通过obj.style的方式只能取得"内联style"的值,对于<style></style>中的css属性值,则无能为力 。 我们可以用obj.currentStyle,和window.getComputedStyle()来获取 (注意: 只有 IE 和 Opera 支持使用 currentSty 阅读全文
posted @ 2017-07-27 22:10 打静爵 阅读(1231) 评论(0) 推荐(0) 编辑