Detecting browser zoom

My site breaks for people who visit it and their browser is zoomed higher than 100%. Is there a cross-platform, cross-browser piece of javascript that will detect if they are zoomed in?

Thanks!

[quote=“busboy, post:1, topic:232698, full:true”]
My site breaks for people who visit it and their browser is zoomed higher than 100%. Is there a cross-platform, cross-browser piece of javascript that will detect if they are zoomed in?[/quote]

There is, but I recommend that you instead improve the design of your site.
Many people zoom their browser due to poor eyesight. Here’s some info on calculating zoom. It’s not easy or robust.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.