I want to underline text not with the same color as text. I know that I can set a border in a but that does not work in Outlook.
What I did is create an 1 px table(actually a zero px table but 1 is the least height I guess) nested in another table that has my text and make its width 100% so that it gets underlined. The problem with this solution is that the line is quite thick to be accepted for a newsletter.
Anyone has faced this problem? Any workarounds?
bordering anchor tag or span would be accepted if it worked on outlook but outlook is used still a lot for reading emails.
Check my code:
<table align="center" width="630" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="font-family:Arial, Helvetica, sans-serif;font-weight:bold;">
<tr>
<td style="border:1px solid #000000;padding-left:10px;padding-right:10px;padding-top:5px;">
<a href="http://www.google.com" style="color:#000001;text-decoration:none;line-height:14px;display:block;"><span style="font-size:13px;line-height:13px;text-decoration:none;font-weight:bold;"><b>Check this out!</b></span><span style="font-size:14px;line-height:14px;color:#000000;font-weight:bold;"> ›</span></a>
<table width="100%" height="0" style="font-size:0px;line-height:0px">
<tr>
<td width="100%" bgcolor="#30fd3e" height="0" style="font-size:0px;line-height:0px"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="15" align="center" style="font-size:0px;line-height:0px;">
</td>
</tr>
</table>
</td>
</tr>
</table>
and JSfiddle:
Thanks for your time guys,
Bill.