2013-08-20 85 views
3

格式化我测试我们公司的通讯,由于某种原因我们公司在页脚地址越来越自动链接的邮件在iPhone上。 (我们不希望)我认为下面的元标记将阻止它,但它仍然发生:禁用地址的iOS电子邮件

<meta name="format-detection" content="address=no"/> 

苹果是否使用不同的标签?

+2

它是位置的地址或电子邮件地址 – meda

+1

http://stackoverflow.com/questions/5265443/mobile-safari-iphone-mail-app-html-design-issues-prevent-autolinking-and-styli –

+1

的http://计算器.COM /问题/ 5265443 /移动Safari浏览器与iPhone的邮件应用程序,HTML的设计问题,防止-autolinking-和触控笔 –

回答

1

只是一个类添加到地址容器元素,并在你的脑袋风格片断声明。例如:

.appleLinksBlack a {color: #000000 !important; text-decoration: none;} 

而像页脚地址:

<span class="appleLinksBlack">This address is being auto-linked in mac devices, but with the class the problem is solved :) </span> 

litmus blog

相关问题