How to prevent page scaling in browser? Specifically on the android. Also interested in cross-browser solution.

  • one
    Blocking functions is a crime against the user. If you have problems with markup - better solve them. - Sergey

2 answers 2

Use between the <head> ... </ head> such a tag:

<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no" /> 

    Crossbrowser: either set all values ​​as a percentage, or make a faded little note at the bottom of the page: "please do not scale the site - garbage can happen."
    You can also try to catch keystrokes and, in the case of a combination to scale, cancel the event.