我想将此链接显示为蓝色,当它应为白色时。它发生在Outlook 2010中。
<span style="font-family: Arial; font-size: 10px;">
You are subscribed with email address
<font style="color: rgb(255,255,255);"><%user.Email%> </font>
<a href="<%unsubscribe_link_text%>"
style="color: rgb(174, 215, 51) ! important;">
<font style="color: rgb(255,255,255);">Click here</font>
</a> to unsubscribe.
</span>
任何人都可以看到这个错误并帮助我吗? :)
答案 0 :(得分:3)
尝试
<span style="font-family: Arial; font-size: 10px;">
You are subscribed with email address
<font style="color: rgb(255,255,255);"><%user.Email%> </font>
<a href="<%unsubscribe_link_text%>"
style="color: #ffffff ! important;">
<span style="color: #ffffff;">Click here</span>
</a> to unsubscribe.
</span>
注意a
内的跨度答案 1 :(得分:1)
尝试更改此内容
style="color: rgb(174, 215, 51) ! important;
至
style="color: #ffffff";
答案 2 :(得分:0)
尝试使用十六进制颜色代替RGB。
答案 3 :(得分:0)
我总是在样式表中根据标签设置我的颜色,如下所示,在Outlook中应该可以正常工作。
a:link {
color: #666666;
}
a:visited {
color: #666666;
}
a:active {
color: #666666;