好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

getStyle获取元素所绑定的css属性_html/css_WEB-ITnose

function getStyle(el,cssProp){    if(el.currentStyle){   // ie        return el.currentStyle[sccProp];    }    else if(window.getComputedStyle){        return window.getComputedStyle(el)[sccProp];    }    //     return el.style[cssProp];} 

查看更多关于getStyle获取元素所绑定的css属性_html/css_WEB-ITnose的详细内容...

  阅读:29次