\" element that holds content is scaled up, the fontsize, if i ch开发者_JAVA百科ange orientation of the device it will then" />
开发者

iPhone Mobile Safari: Portion of content scales by it self

开发者 https://www.devze.com 2023-01-22 03:20 出处:网络
Really, wondering and don\'t know why, on the initial load, the \"<\'p\'>\" element that holds content is scaled up, the fontsize, if i ch开发者_JAVA百科ange orientation of the device it will then

Really, wondering and don't know why, on the initial load, the "<'p'>" element that holds content is scaled up, the fontsize, if i ch开发者_JAVA百科ange orientation of the device it will then adjust scaling and keep it at declared font size that originally was intended, but that initial load. any ideas why?


I had a similar problem and the answer that worked for me was:

This is because sometimes Safari webview Zooms text automatically when it thinks its a good idea.

To disable this behavior add this to your body CSS Style:

-webkit-text-size-adjust:none;


Are you sure loading CSS portion before content?

0

精彩评论

暂无评论...
验证码 换一张
取 消