Reputation: 495
I want to fix this link appearing in the color blue, when it should be white. It happens in 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>
Can anyone see whats wrong with that and help me? :)
Upvotes: 2
Views: 15097
Reputation: 26
Try change this
style="color: rgb(174, 215, 51) ! important;
to
style="color: #ffffff";
Upvotes: 1
Reputation: 33
try with
<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>
notice the span inside the a
Upvotes: 3
Reputation: 839
I've always set my colours in the style sheet against the a tag as follows and should work fine in Outlook.
a:link {
color: #666666;
}
a:visited {
color: #666666;
}
a:active {
color: #666666;
Upvotes: 2
Reputation: 114417
Try using hex colors instead of RGB.
Master guide: http://www.campaignmonitor.com/css/
Upvotes: 0