Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Website Scaling Problem, Windows 10, Everything Is Big.

more options

Is there a way from within a website's code to turn off scaling with Windows 10 for 4k resoutions?

I know I can turn it off manually, but 99% of the users won't do that and it throws the resolution responsiveness of websites off. Not sure why you guys don't just turn it off by default in your browsers.

Is there a way from within a website's code to turn off scaling with Windows 10 for 4k resoutions? I know I can turn it off manually, but 99% of the users won't do that and it throws the resolution responsiveness of websites off. Not sure why you guys don't just turn it off by default in your browsers.

Chosen solution

Can you share a URL of a page demonstrating the issue? (I don't have a 4K monitor, though, hmm.)

If you are using @media queries or JavaScript to adapt the layout, you should explore how Firefox reports screen resolution and window size: it changes with the user's zoom level. You can play with this page to see what I mean:

https://www.jeffersonscher.com/res/resolution.php

By default, Firefox follows the text size / scaling setting at the Windows level. On a high resolution small panel display, that may default to 125% - 150%. I don't know the typical defaults for a 4K panel. What is yours set at? You can get a rough idea from the above page if you reset page zoom to 100%.

Read this answer in context 👍 2

All Replies (7)

more options

This is a Windows support help not a FF help. You need to contact Windows support for this issue. FF has no control what Windows does and what it controls. The user needs to know about W10 and how to control it not FF.

more options

WestEnd said

This is a Windows support help not a FF help. You need to contact Windows support for this issue. FF has no control what Windows does and what it controls. The user needs to know about W10 and how to control it not FF.

Either you misunderstood, or you don't know what you're talking about. Software like FF is built to run on Windows and abide by its rules. Same with a website, it is built to abide by the browser's rules. I'm looking for a solution to place in the code of the website that corrects that which FF fails to do. This is code that will disable the browser from taking the scaling ratio that Windows has. Does this makes sense?

So this is very much related to FF.

Modified by nicoSF

more options

Scaling is a Windows issue. You need to know that upfront here. Windows controls scaling and any other programs follow M$ rules. So don't conflate Scaling a FF since Mozilla has no access to Windows Kernels or controls them.

more options

Chosen Solution

Can you share a URL of a page demonstrating the issue? (I don't have a 4K monitor, though, hmm.)

If you are using @media queries or JavaScript to adapt the layout, you should explore how Firefox reports screen resolution and window size: it changes with the user's zoom level. You can play with this page to see what I mean:

https://www.jeffersonscher.com/res/resolution.php

By default, Firefox follows the text size / scaling setting at the Windows level. On a high resolution small panel display, that may default to 125% - 150%. I don't know the typical defaults for a 4K panel. What is yours set at? You can get a rough idea from the above page if you reset page zoom to 100%.

more options

I figured it out via java. Thanks!

more options

nicoSF said

I figured it out via java. Thanks!

How did you solve this issue? :)

I'm battling with the same problem.

more options

Hi Nedi21, maybe start a new question if you don't get a quick answer here. Since this is already marked solved, new posts may not get enough attention on this thread.

https://support.mozilla.org/questions/new/desktop/fix-problems