Why isn't my text-decoration="none"
appearing properly? I've tried putting it in different locations, such as table
, tr
, td
, but I can't seem to get it to work. Any common mistakes in styling email designs? Here is my code:
<table cellspacing="0" cellpadding="0" border="0" max-width="100%" width="600px" align="center">
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" max-width="100%" align="center">
<tr>
<td>
<!-- HEADER -->
<table cellspacing="0" cellpadding="0" border="0" max-width="100%" align="center">
<tr align="center">
<td>
<p>Is this email not displaying correctly? <a href="#" text-decoration="none">View this email in your web browser</p></a>
</td>
</tr>
</table>
<!-- END HEADER -->
</td>
</tr>
</table>
</td>
</tr>
</table>
text-decoration
is a CSS property, not an HTML attribute.It has to go in a style sheet or a
style
attribute.This, among various other errors, would be picked up if you used a markup validator.