如何强制iPhone的Safari使用media =" handheld"? [英] How can I force iPhone’s Safari to use media="handheld"?
本文介绍了如何强制iPhone的Safari使用media =" handheld"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法强制使用iPhone的Safari使用 media =handheld
代替 media =screen
?
Is there a way to force to iPhone’s Safari to use media="handheld"
in place of media="screen"
?
推荐答案
Safari故意忽略media = handheld,因为这样的样式表通常被定制为具有低得多的能力的iPhone手持设备,因此会导致页面的低质量版本。
You can't. Safari intentionally disregards media=handheld, as such stylesheets were typically tailored to pre-iPhone handhelds with much lower capabilities, and would therefore result in a poor low-quality version of the page.
但是,您可以使用条件css 。
这篇关于如何强制iPhone的Safari使用media =" handheld"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文