为什么Firefox的最小宽度最小值为615px? [英] Why does Firefox have a min-width minimum of 615px?

查看:235
本文介绍了为什么Firefox的最小宽度最小值为615px?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对媒体查询非常陌生,所以我在使用min-width:属性与我的Firefox 12.0,注意到它只是不工作。



http://barrow.io/lab/media-query-viewport/



我发现我的最小最小宽度Firefox在我的机器上支持(它是一个XP框)是615px。为什么?我试图使用媒体查询,以便我可以使一个网站,在许多设备以及台式机上工作良好。这包括480和320像素宽的设备。 Firefox不允许我测试较小的宽度,这将严重影响我的开发。



有没有任何类型的解决方法,除了尝试一个不同的浏览器?



感谢。



编辑:现在我的Firefox经过了几次升级这不再是一个问题。我很高兴它得到修复。

解决方案

这样: http://support.mozilla.org/en-US/questions/772847#answer-125895
Firefox支持的宽度不超过480,因此如果你想测试320像素,你必须使用不同的浏览器。我想指出,如果你想在你的网站上测试智能手机,你应该使用智能手机硬件上的智能手机浏览器...不只是桌面浏览器设置为真正小的分辨率,这是什么听起来像你想做的。 / p>

I'm extremely new to Media Queries so I was playing with the min-width: attributes with my Firefox 12.0 and noticed that it just wasn't working. After some playing around and after experimenting with this lovely website

http://barrow.io/lab/media-query-viewport/

I found out that the minimum min-width that my Firefox supports on my machine (it's an XP box) is 615px. Why? I'm trying to play with Media Queries so that I can make a website that works well on many devices as well as desktops. This includes devices that are 480 and 320 pixels wide. With Firefox not allowing me to test the smaller widths it's going to seriously affect my development.

Is there any kind of a work-around for this other than trying a different browser?

Thanks.

EDIT: Now that my Firefox has gone through a few upgrades (now at v22) this is not longer a problem. I'm glad it got fixed.

解决方案

As of this: http://support.mozilla.org/en-US/questions/772847#answer-125895, Firefox supports no more than 480 width, so if you want to test for 320 px, you must use a different browser. I would point out that if you want to test smartphones on your site, you should be using smartphone browsers on smartphone hardware... not just desktop browsers set to really small resolutions, which is what it sounds like you were trying to do.

这篇关于为什么Firefox的最小宽度最小值为615px?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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