阻止IE Mobile自动缩放网页 [英] prevent IE Mobile from scaling web pages automatically

查看:118
本文介绍了阻止IE Mobile自动缩放网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使IE Mobile停止自动调整网站设计的大小.我将三个样式表与媒体查询一起使用,以在不同的设备屏幕上以不同的方式显示网站.我已经包含了meta标签,因此它在IE mobile上显示了移动样式表,但它始终将视口设置为320X480,而不是使用实际尺寸480X800.如何强制它以实际的屏幕尺寸显示,而不是缩放到较小的分辨率?

I have not been able to get IE mobile to stop automatically resizing my site design. I am using three stylesheets with media queries to display the site differently on different device screens. I've included the meta tag so it shows the mobile stylesheet on IE mobile but it keeps setting the viewport at 320X480 instead of using the actual size of 480X800. How can I force it to display at the actual screen size instead of scaling for a smaller resolution?

推荐答案

我个人始终使用以下内容:

Personally I always use the following:

<meta name="mobileoptimized" content="0" />

这是一个非常有用的页面: http://msdn.microsoft.com /en-us/library/dd938878.aspx

This is a very helpful page: http://msdn.microsoft.com/en-us/library/dd938878.aspx

这篇关于阻止IE Mobile自动缩放网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆