Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

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.

Solução escolhida

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%.

Ler esta resposta 👍 2

Todas as respostas (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.

Alterado por nicoSF em

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

Solução escolhida

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