3
格式化我測試我們公司的通訊,由於某種原因我們公司在頁腳地址越來越自動鏈接的郵件在iPhone上。 (我們不希望)我認爲下面的元標記將阻止它,但它仍然發生:禁用地址的iOS電子郵件
<meta name="format-detection" content="address=no"/>
蘋果是否使用不同的標籤?
格式化我測試我們公司的通訊,由於某種原因我們公司在頁腳地址越來越自動鏈接的郵件在iPhone上。 (我們不希望)我認爲下面的元標記將阻止它,但它仍然發生:禁用地址的iOS電子郵件
<meta name="format-detection" content="address=no"/>
蘋果是否使用不同的標籤?
只是一個類添加到地址容器元素,並在你的腦袋風格片斷聲明。例如:
.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>
找到更多的資源這個網站有所有測試的最佳實踐:
https://litmus.com/blog/update-banning-blue-links-on-ios-devices
<meta content="telephone=no" name="format-detection">
它是位置的地址或電子郵件地址 – meda
http://stackoverflow.com/questions/5265443/mobile-safari-iphone-mail-app-html-design-issues-prevent-autolinking-and-styli –
的http://計算器.COM /問題/ 5265443 /移動Safari瀏覽器與iPhone的郵件應用程序,HTML的設計問題,防止-autolinking-和觸控筆 –