\" 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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜