Android WebView seems to ignore “viewport” information on web pages

后端 未结 8 2239
情深已故
情深已故 2020-12-15 00:37

I have a website that is using the viewport META tag to tell mobile browsers how to display content ( ). Viewing the page in the Android browser looks correct (and iPhone,

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 00:55

    The only thing that worked for me was

    
    

    but specifically adding maximum-scale=1.0, minimum-scale=1.0 to the already existing tag helped. For my specific case I didn't want to give the user the ability to zoom in/out so YMMV.

提交回复
热议问题