I'm trying to build a newsletter which I've designed to be sent by email. I've now the problem that the text has no space to the images around it and I would like to change the background-color
of the text field to grey just like:
If I'm giving it a new td
is the whole code not working anymore could you help me please.
Here is the complete code jsfiddle
<table width="600*" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><br>
<td width="201" valign="top" >
<img src="images/angebot1.jpg" style="display: block;" border="0" width="201" height="394"/><br />
<br />
</td>
<td width="291" valign="top">
<img src="images/angebotbild1.jpg" style="display: block;" border="0" width="335" height="150"/>
<div style="margin-top: 3px;"></div>
<font color="#778da7" face="Trebuchet, Arial, Verdana, Helvetica, sans-serif" size="2" style="font-size: 12px"> the text </font><br><br>
<a href="#" alt="Book now" target="_blank" style="color:#cc1f2f; font-weight:bold; text-decoration:none;float:left"><img src="images/button.jpg" width="335" height="60" style="display:block;" border="0" /></a>
</td>
</tr>
</table>
You can wrap the font tag within div. Then add padding-left and set display: inline-block. Also background-color can be applied to the td, as rest of the part will be covered by images.
Thanks