1

So basically, I'm developing a mobile website with fixed page dimensions. Using this:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">

doesn't help. I still can double-tap and pinch to zoom on older AOSP browsers (4.0 - 4.2.2). Does anyone have a solution for this issue? Thanks in advance!

  • You might want to take a look here. http://stackoverflow.com/questions/11345896/full-webpage-and-disabled-zoom-viewport-meta-tag-for-all-mobile-browsers – JavaProgrammer Oct 27 '14 at 15:41

1 Answers1

0

From this source:

Except for Android WebKit. Obviously. Android WebKit allows initial-scale to set the layout viewport width only if the value is 1 AND there is no width directive. So only initial-scale=1 without any other directives works.

Robin Eisenberg
  • 1,836
  • 18
  • 26
  • I'm sure, I've tried it already, but I'll give it another shot next week, when I'll get the 4.0.1 phone. Meanwhile, on 4.2+ aosp browser and any webkit one, everything works perfectly with the "device-width". – Igor Pougatch Oct 28 '14 at 08:02