I want to change the border color of a table within my HTML email to another color but when I run my code through the HTML Validation it doesn't seem to like (bordercolor="#9cbdcc")
I've added an image below so you can see the error I get.
The main reason I'm asking this is that I'm now sending a lot of HTML emails to a lot of people and generally go for 100% validation to ensure there are minimal problems across all the email clients so it would be handy to know is this is a no no or if its okay.
Thanks in advance for any responses.
Decided to us the method below, the ticked answer would also work:
HTML
<table cellspacing="2" cellpadding="0" border="0" bgcolor="#000000">
<tr>
<td width="200" height="30" bgcolor="#FF0000">
TEST
</td>
<td width="200" height="30" bgcolor="#FF0000">
TEST
</td>
</tr>
</table>
How about using inline styles or a stylesheet?
<table style="border-color:#9cbdcc;">
or
<table style="border: 1px solid #9cbdcc;">
They work perfectly in emails in all the clients.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With