Skip to content

Instantly share code, notes, and snippets.

View iamSampath's full-sized avatar
🎯
Focusing

Sampath Medarametla iamSampath

🎯
Focusing
View GitHub Profile
@iamSampath
iamSampath / max_width_email.html
Created August 2, 2016 18:21 — forked from elidickinson/max_width_email.html
Email Template trick: max-width with outlook
<!--[if mso]>
<center>
<table><tr><td width="580">
<![endif]-->
<div style="max-width:580px; margin:0 auto;">
<p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p>
</div>
<!--[if mso]>