Skip to content

Instantly share code, notes, and snippets.

@helinsv
Created May 30, 2019 09:47
Show Gist options
  • Save helinsv/f70c3d522a002ec4d0754f17904ad168 to your computer and use it in GitHub Desktop.
Save helinsv/f70c3d522a002ec4d0754f17904ad168 to your computer and use it in GitHub Desktop.
<table cellspacing="0" cellpadding="0" border="0" width="600" align="center" background="https://edmdesigner.github.io/modern-html-email-tutorial/lesson08/img/pattern.jpg" class="wrapper" style="margin: 0 auto; width:600px; min-height:50px; height:50px; ">
<tr>
<td bgcolor="#F4F4F4" background="https://edmdesigner.github.io/modern-html-email-tutorial/lesson08/img/pattern.jpg" style="background-color:#F4F4F4; background-image: url(https://edmdesigner.github.io/modern-html-email-tutorial/lesson08/img/pattern.jpg); background-position: center top;">
<!--[if gte mso 9]>
<v:image xmlns:v="urn:schemas-microsoft-com:vml" id="theImage" style="behavior: url(#default#VML); display: inline-block; position: absolute; width: 600px; height: 50px; top: 0; left: 0; border: 0; z-index: 1;" src="https://edmdesigner.github.io/modern-html-email-tutorial/lesson08/img/pattern.jpg" />
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="display: inline-block; position: absolute; width: 540px; height: 50px; top: 0; left: 0; border: 0; z-index: 2;">
<v:fill opacity="0%" style="z-index: 1;"/>
<div>
<![endif]-->
<p style="margin:0; padding:0; font-size:16px; line-height:20px; font-family:Georgia, Arial, sans-serif;"> table background="...." + vml fixed width background</p>
<!--[if gte mso 9]>
</div>
</v:fill></v:rect><![endif]-->
</td>
</tr>
</table>
https://litmus.com/builder/documents/3293701#start-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment