Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.