切换到横向模式时,如何阻止ipad/iphone调整我网站上的文字大小和图片? [英] how to stop an ipad/iphone from adjusting textsize and pictures on my website when switching to landscape?
本文介绍了切换到横向模式时,如何阻止ipad/iphone调整我网站上的文字大小和图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
好的,我需要保持网站图片的大小/分辨率不变.
我相信我需要在标题中放置一些内容,但我只是不知道....
她的管理员: http://asiab3.com/bio.html [
ok, i need to keep my website''s picture at a constant size/resolution.
i believe i need to place something in the header, i just don''t know what..
her''s the ste: http://asiab3.com/bio.html[^]
推荐答案
据此http://developer.apple.com/library/safari/#documentation/AppleApplications/参考/SafariWebContent/AdjustingtheTextSize/AdjustingtheTextSize.html [ ^ ]文档,(请参阅调整文本大小部分);您可以设置样式属性-webkit-text-size-adjust:none
例如
According to this http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/AdjustingtheTextSize/AdjustingtheTextSize.html[^] document, (See Adjusting Text size section); you can set the style attribute-webkit-text-size-adjust:none
e.g.
<body style="-webkit-text-size-adjust:none">
这篇关于切换到横向模式时,如何阻止ipad/iphone调整我网站上的文字大小和图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文