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?
精彩评论