15

In IE10 touch mode I wish to make only a certain part of the page zoomable. The rest should not be.

I found this: http://msdn.microsoft.com/en-US/library/ie/hh772044.aspx and tried to set -ms-touch-action: none to my body and html tags.

However I can still zoom. Did I miss something?

cmplieger
  • 7,155
  • 15
  • 55
  • 83

3 Answers3

27

Found the solution: -ms-content-zooming: none | zoom

Michael Irigoyen
  • 22,513
  • 17
  • 89
  • 131
cmplieger
  • 7,155
  • 15
  • 55
  • 83
6

For me this CSS code work

html {

      -ms-content-zooming: none;
      -ms-touch-action: pan-x pan-y;

}

I am using this code for disabling pinch and double tap zoom on windows tablet, I.E 10

Umer Qureshi
  • 1,736
  • 2
  • 20
  • 22
0

Try to add this in your Head area:

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