Last active
December 11, 2017 15:15
-
-
Save stoyanvi/8706935 to your computer and use it in GitHub Desktop.
HTML Email Template: max-width hack for MS Outlook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if (gte mso 9)|(IE)]> | |
<center> | |
<table> | |
<tr> | |
<td width="600"> | |
<![endif]--> | |
<div style="max-width: 600px; margin: 0 auto;"> | |
<p>This text will be centered and constrained to 600 pixels even on Outlook which does not support max-width CSS</p> | |
</div> | |
<!--[if mso]> | |
</td> | |
</tr> | |
</table> | |
</center> | |
<![endif]--> |
Not working on MS Outlook 2016 for me. :/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This solution only works on Outlook 2000?