How can I use image background css property in table mailers?

40 Views Asked by At

How to use a background image in table based email template, which should support the image background property on all devices and email clients?

1

There are 1 best solutions below

1
On

you can write background images as inline css for table.

    <table width="100%" border="0" cellspacing="0" cellpadding="20" background="background_image.png">
      <tr>
    <td>
   <p>Content on a pretty background image.</p>
  </td>
 </tr>
  </table>