与此问题类似,How do I remove the blue styling of telephone numbers on iPhone/iOS?
我使用以下代码尝试了该建议,但它不起作用:
[href^="tel"]{
color:inherit;
}
我的问题是我正在将网页从我的网站复制到电子邮件(每周简报),而gmail正在将其转换为蓝色超链接。甚至在添加[href ^ =“tel”]之前,它在我的网站上并没有显示为蓝色。我认为没有修复,因为它是通过谷歌发生的?
答案 0 :(得分:1)
if this is happening on gmail app, you can use an anchor tag and give it a color without the href
<a style="color:#000001; text-decoration:none;">iOS Fix</a>
if this is happening on the generic email clients for iOS you can use a class in the header and assign the class to the td
<style>
.appleLinkFix a{color:#000000; text-decoration:none;}
</style>
next you can add the class to the td which iOS will create the link by itself.
<td class="appleLinkFix">48 Pirrama Rd, Pyrmont NSW 2009</td>
Hope that helps answer your question.
答案 1 :(得分:0)
添加这些样式
color: inherit;
text-decoration: none;
Google也很容易。