Created
October 29, 2012 18:11
-
-
Save aliciaduffy/3975369 to your computer and use it in GitHub Desktop.
Fix for Responsive Email gap on the right side in Iphone Mail
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
<!-- Add min-width: 100%; to body CSS --> | |
body { | |
min-width: 100%; | |
} | |
<!-- Add 'style="text-align: center;"' and 'align="center"' to wrapper table --> | |
<table id="wrapper" width="100%" height="100%" style="width: 100%; height: 100%; margin: 0 !important; text-align:center" border="0" cellspacing="0" cellpadding="0" bgcolor="#eaeff2" align="center"> | |
<tbody> | |
<tr> | |
<td align="center"> | |
<!-- Add 'style="text-align: left;"' to second table --> | |
<table id="main" style="text-align: left; width: 700px; text-align:left" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was the answer I was looking for!! I love you ❤️ , 9 years later