DOM標準裡有個全域性方法getComputedStyle,可以獲取到當前物件樣式規則資訊,如:getComputedStyle(obj,null).paddingLeft,就能獲取到物件的左內邊 ...
確定! 回上一頁