为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Different screen resolutions an annoying problem with aspect ratio!

more options

I'm aiming this at developers. All these different screen resolutions are screwing up how websites display. I have a site that is designed for the long time standard of 4:3 1024x768 and viewing it on any resolution other than that distorts the aspect ratio.

Better definition is surely desirable but intolerable to my liking at sacrificing appropriate aspect.

Why hasn't anyone thought of building a browser that would render the intended aspect ratio?

I'm thinking what would be so hard to create a universal script or code a website owner could plug into the template that a browser would read and display the intended aspect ratio no matter the resolution. I've been searching feverishly for a solution for this & I see media queries might work but so complicated I can't do anything with them.

It's baffling to me with all the programming geniuses there are that a universal medium hasn't been created to deal with this issue. I can't see how this would be such a hard thing to accomplish.

I don't know if something will come along to fix this anytime soon but in the meantime how hard would it be to modify firefox or any browser to have manual selections to display websites at different aspect ratios?

I'm aiming this at developers. All these different screen resolutions are screwing up how websites display. I have a site that is designed for the long time standard of 4:3 1024x768 and viewing it on any resolution other than that distorts the aspect ratio. Better definition is surely desirable but intolerable to my liking at sacrificing appropriate aspect. Why hasn't anyone thought of building a browser that would render the intended aspect ratio? I'm thinking what would be so hard to create a universal script or code a website owner could plug into the template that a browser would read and display the intended aspect ratio no matter the resolution. I've been searching feverishly for a solution for this & I see media queries might work but so complicated I can't do anything with them. It's baffling to me with all the programming geniuses there are that a universal medium hasn't been created to deal with this issue. I can't see how this would be such a hard thing to accomplish. I don't know if something will come along to fix this anytime soon but in the meantime how hard would it be to modify firefox or any browser to have manual selections to display websites at different aspect ratios?

所有回复 (1)

more options

Browser makers have to balance between the desires of web publishers and users. We get posts here from time to time complaining about wasted space on the left and right of fixed width centered layouts.

Speaking of which, can you used a fixed width for your content and center it in the viewport? That should allow control over layout, although it might not all fit in the available height on a wide aspect screen if the user has a tall toolbar area, or if the user needs to use the zoom feature for easier reading.