IE8中的缩放值返回错误

时间:2013-11-11 11:22:11

标签: javascript html internet-explorer-8

这是我的div

<div class="imgBox" id="imgBox" style="margin:auto;zoom:100%;">
//content
</div>

当我在脚本中提醒缩放值时

alert(parseInt(document.getElementById("imgBox").style.zoom));

它在IE9中正确返回为100,但在IE8中错误地返回为1。

这里有什么问题???

由于

0 个答案:

没有答案