Im Using the zoom property in JQuery to zoom my body.
So far, this only works in Google Chrome, Not in IE. Using IE 11.
This is what i have so far:

$(document).ready(function(){   
        $('body').css("zoom", "70%");
});

Wich works perfectly in Chrome. For some reason i can't get this to work in IE.
Anyone who has a solution to this IE problem?

Thanks!

有帮助吗?

解决方案

Found it. for MS

$(document).ready(function(){   
        $('body').css("-ms-zoom", "70%");
});
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top