Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Modified pseudo-responsive MailPoet email_template.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {if #is_rtl} dir="rtl" {/if} >
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{#subject|default:Wysija template}</title>
{#css}
</head>
<body bgcolor="{#styles.html.background|color}" yahoo="fix">
<span style="margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;display:block;background:{#styles.html.background|color};">
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="wysija_wrapper" style="margin:0 auto;max-width:600px;">
<tr>
<td valign="top" align="center">
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
{if ! #hide_viewbrowser}
<tr>
<td width="100%" style="max-width:600px;width:100%;" valign="top" align="center" {if #is_rtl} dir="rtl" {/if} >
{#viewbrowser}
</td>
</tr>
{/if}
<tr>
<td width="100%" style="max-width:600px;width:100%;" valign="top" align="center">
{#header}
</td>
</tr>
<tr>
<td width="100%" style="max-width:600px;width:100%;" valign="top" align="left">
{#body}
</td>
</tr>
<tr>
<td width="100%" style="max-width:600px;width:100%;" valign="top" align="center" {if #is_rtl} dir="rtl" {/if} >
{#footer}
</td>
</tr>
{if ! #hide_unsubscribe}
<tr>
<td width="100%" style="max-width:600px;width:100%;" valign="top" align="center" {if #is_rtl} dir="rtl" {/if} >
{#unsubscribe}
</td>
</tr>
{/if}
</table>
</td>
</tr>
</table>
</span>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment