gpt4 book ai didi

html - 为什么 iOS 上电话号码的字体颜色是蓝色的?

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:53:19 24 4
gpt4 key购买 nike

有谁知道为什么 iPad iOS 11.0、iPhone 7 iOS 11.0、iPhone X iOS 11.0.3 的字体颜色是蓝色的?我尝试以多种方式更改颜色,但根本不起作用,我的电子邮件代码中甚至没有任何蓝色,因此必须计算它!

<table width="100%" border="0" cellpadding="0" cellspacing="0" align="right" style="background: #333d47; text-align: left; color: #FFFFFF;">
<tr>
<td style="font-family:Arial, sans-serif;font-size: 12px; color: #FFFFFF; margin:0; padding:20px; font-weight: 300 !important;">Contact us now: <span editable="true" style="color: #FFFFFF;">+1(555) 555-555</span>
</td>
</tr>
</table>

enter image description here

最佳答案

iOS 给了我们 x-apple-data-detectors解决 Apple Mail 干预自动检测电话号码和地址并使它们链接的问题。在你的 <style> 中放置这样的东西标签应该可以解决问题:

*[x-apple-data-detectors] {
border-bottom: 0 !important;
cursor: default !important;
color: inherit !important;
text-decoration: none !important;
}

关于html - 为什么 iOS 上电话号码的字体颜色是蓝色的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49568194/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com