简体   繁体   English

如何防止Internet Explorer扩大我的网站?

[英]How do I prevent Internet Explorer from enlarging my website?

I designed a responsive website, and Internet Explorer 10 (possibly earlier versions as well; no way to check) is doing something infuriating when the browser window gets 400px wide or narrower. 我设计了一个响应式网站,当浏览器窗口变宽或变窄400px时,Internet Explorer 10(可能还有较早的版本;也无法检查)正在令人发指。 It enlarges the entire site by about 25% (text, images, everything) and then ignores all media queries as you continue reducing the width of the window; 它将整个站点扩大约25%(文本,图像,所有内容),然后在继续减小窗口宽度时忽略所有媒体查询。 it just scales everything down equally to fit. 它只是将所有内容按比例缩小以适合。

I know this won't really be an issue in the wild, since nobody will be browsing a website on a desktop computer at 400px, and if they're using a mobile phone, they won't be using Internet Explorer, but it's driving me up the wall nonetheless. 我知道这并不是真正的大问题,因为没有人会在400px的台式机上浏览网站,并且如果他们使用的是手机,他们将不会使用Internet Explorer,但它正在推动我仍然在墙上。 Is there a way to make it not do that? 有没有办法使它不这样做?

Here's the site: www.rampartconstruction.net 这是网站:www.rampartconstruction.net

The div 'galleria-info' has a fixed width of 900px, not sure if this will be casuing this issue. div“ galleria-info”的固定宽度为900px,不确定是否会引起此问题。 But ideally should be 100%. 但理想情况下应为100%。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM