0

使用 jquery,我可以使用 element.css('margin-left') 来获取元素边距的真实像素值(如果它有margin: 0 auto;. 但似乎这在 IE8 中不起作用。它总是返回auto。那么如何在IE8中获取像素值呢?

4

0 回答 0