简体   繁体   English

如何防止iPhone调整我网站字体的大小

[英]How do I prevent iphone from resizing fonts of my website

Iphone changes some fonts making the site unproportional and not as originally designed. Iphone更改了一些字体,使网站不成比例,而不是最初设计的。 Is there a way to preserve original? 有没有办法保存原始照片?

Use: 采用:

html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
    -webkit-text-size-adjust:none;
}

Source: http://www.catswhocode.com/blog/10-useful-code-snippets-to-develop-iphone-friendly-websites (you can find many other nice tips for iPhone specific coding there as well) 来源: http : //www.catswhocode.com/blog/10-useful-code-snippets-to-develop-iphone-friendly-websites (您也可以在其中找到许多其他针对iPhone特定编码的好技巧)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Mac上托管基于节点的网站,并通过wifi从iPhone访问它? - How do I host a node based website on my mac and access it from my iPhone over wifi? @media无法在iPhone上调整字体大小 - @media not resizing fonts on iphone 如何开发我的网站以使用iPhone上的“阅读器”图标? - How do I develop my website to work with the “reader” icon on iPhone? 如何阻止iPhone调整背景图片的大小? - How do I stop iPhones from resizing my background images? iPhone将我网站上的日期转换为电话号码 - 我该如何防止这种情况发生? - iPhone converts dates on my website into phone numbers — how can I prevent this? 在设计iPhone的网站/网络应用程序时,如何防止点击输入将页面向上推? - When designing a website/webapp for iphone, how do you prevent tapping on an input from pushing your page up? 我的网站会自动调整大小以适合我的iPhone屏幕,但是图像不正确,我该如何解决? - my website automatically resizes to fit my iphone screen but the images are out of place, how do i fix this? 添加到主屏幕后,我该怎么做才能阻止iPhone 4切断我的标题? - What can I do to prevent iPhone 4 from cutting off my title when adding to home screen? 我想知道如何才能访问我正在从我的 iphone 上的 Windows 网站开发的本地主机网站 - I was wondering how i would be able to a local host website that i am developing from my windows website on my iphone 人们如何将iPhone应用程序从我的网站下载到他们的iPhone? - How can people download an iPhone app from my website to their iPhone?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM