js获取css属性的方法:使用【getComputedStyle(div)】方法获取,代码为【var a = document.defaultView.getComputedStyle(div);】。
技术文章 / 下载软件趣味内容 / 专业带飞