Phonegap + Windows Phone 8 : HTML5 viewport meta & scaling issue

HTMLWeb DevelopmentFront End Technology

Whenever you face such issue, it would mean you have not written the CSS properly.

Just add the following in CSS −

* {
   zoom:1;
   -ms-content-zooming:none;
}

For some code, even the following works −

@viewport
{
   width:320px;
}
@-ms-viewport {
   width:320px;
   zoom-user:fixed;
   max-zoom:1;
   min-zoom:1;
}
raja
Published on 10-Apr-2018 10:49:56
Advertisements