-2

I have the following as my header:

<tr>
  <td align="center" bgcolor="#3597D4" background="http://www.stampready.net/dashboard/editor/user_uploads/image_uploads/2017/08/15/jdKy8gpoibJTW1AX3Mf4vOLteaGmYZNSwksDrEuBhQR6CPq0zl92HVnI.jpg" style="background-size:cover;background-position:center;background-image:url(http://www.stampready.net/dashboard/editor/user_uploads/image_uploads/2017/08/15/jdKy8gpoibJTW1AX3Mf4vOLteaGmYZNSwksDrEuBhQR6CPq0zl92HVnI.jpg);">
    <br>

I want to add this link:

href="https://intechnica.com/insurance-bot-brokers-impact-non-human-traffic-nht-insurance-industry/?utm_source=mailchimp&utm_medium=email&utm_campaign=2017_bot_control_insurance_2"

When I follow the usual procedure of adding at the end, the image simply disappears.

EDIT ANSWERED (the can't work without the background being a 'block' so I had to set the style to block): style="display: block; background

  • Is this to add a link as a background in **emails**? – Syfer Aug 17 '17 at 00:08
  • Possible duplicate of [How can I make a link from a table cell](https://stackoverflow.com/questions/3337914/how-can-i-make-a-link-from-a-td-table-cell) – Veve Aug 17 '17 at 11:59

1 Answers1

1

In HTML, you can add a link with the <a> tag. To add a link to your background, just wrap it with this <a> tag like so :

<tr>
  <a href="https://intechnica.com/insurance-bot-brokers-impact-non-human-traffic-nht-insurance-industry/?utm_source=mailchimp&utm_medium=email&utm_campaign=2017_bot_control_insurance_2">
  <td align="center" bgcolor="#3597D4" background="http://www.stampready.net/dashboard/editor/user_uploads/image_uploads/2017/08/15/jdKy8gpoibJTW1AX3Mf4vOLteaGmYZNSwksDrEuBhQR6CPq0zl92HVnI.jpg" style="background-size:cover;background-position:center;background-image:url(http://www.stampready.net/dashboard/editor/user_uploads/image_uploads/2017/08/15/jdKy8gpoibJTW1AX3Mf4vOLteaGmYZNSwksDrEuBhQR6CPq0zl92HVnI.jpg);">
  </td>
  </a>
</tr>
Louis 'LYRO' Dupont
  • 1,052
  • 4
  • 15
  • 35