JavaScript如何获取一个元素的样式信息
跨浏览器方法functiongetStyle(elem,cssprop,cssprop2){if(elem.currentStyle){returnelem.currentStyle[cssprop]}elseif(
探索与 样式信息 相关的精彩内容
跨浏览器方法functiongetStyle(elem,cssprop,cssprop2){if(elem.currentStyle){returnelem.currentStyle[cssprop]}elseif(