Background table image does not work in outlook

Asked

Viewed 490 times

0

I am mounting an email marketing, and when I put the html in outlook it does not show the image that is like bg of a table, someone knows how to force it?

Part of the code that is with img as bg:

  <table align="center" cellspacing="0" cellpadding="0" width='558' height='379' background="http://www.intercambioglobal.com.br/emailkt/harvard/logo-mid.jpg"  style="width:558px; height:379px; background-image: url(http://www.intercambioglobal.com.br/emailkt/harvard/logo-mid.jpg);">

1 answer

0


Michel, try this way:

  <!--[if gte mso 9]>
  <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
    <v:fill type="tile" src="http://www.intercambioglobal.com.br/emailkt/harvard/logo-mid.jpg" color="#7bceeb"/>
  </v:background>
  <![endif]-->
  <table align="center" cellspacing="0" cellpadding="0" width="558" height="379" style="width:558px; height:379px;">
    <tr>
      <td valign="top" align="left" background="http://www.intercambioglobal.com.br/emailkt/harvard/logo-mid.jpg">

            <!-- sua tabela original -->
            <table align="center" border="0" cellspacing="0" cellpadding="0" width="558" height="379" style="width:558px; height:379px;">
                <tbody>
                     <!-- conteúdo da sua tabela -->
                </tbody>
            </table>

      </td>
    </tr>
  </table>
  • I have content that is positioned on this table, so if I use this as a td, the content will be out. follow the link.http://www.intercambioglobal.com.br/emailkt/harvard/emailkt.html

  • Opa, I modified the answer! Your table would be inside another table that would have the bg in a <td>!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.