JavaScript如何调用CSS属性?
1、margin、width、left
obj.style.margin
obj.style.width
obj.style.left
2、font-size、border-top-width、-moz-user-select
obj.style.fontSize
obj.style.borderTopWidth
obj.style.mozUserSelect
版权声明:本文为博主原创文章,未经博主允许不得转载。
原文:http://blog.csdn.net/you23hai45/article/details/49079445