Skip to content

Commit ff017ba

Browse files
committed
Improved background color for email
Now covers Windows 10 Mail Closes out #149
1 parent 4aa8840 commit ff017ba

File tree

4 files changed

+314
-284
lines changed

4 files changed

+314
-284
lines changed

cerberus-fluid.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,13 @@
166166
<![endif]-->
167167

168168
</head>
169-
<body width="100%" bgcolor="#222222" style="margin: 0; mso-line-height-rule: exactly;">
169+
<body width="100%" style="margin: 0; mso-line-height-rule: exactly;">
170170
<center style="width: 100%; background: #222222; text-align: left;">
171+
<!--[if mso | IE]>
172+
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#222222">
173+
<tr>
174+
<td>
175+
<![endif]-->
171176

172177
<!-- Visually Hidden Preheader Text : BEGIN -->
173178
<div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;">
@@ -357,6 +362,11 @@ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-he
357362
</table>
358363
<!-- Full Bleed Background Section : END -->
359364

365+
<!--[if mso | IE]>
366+
</td>
367+
</tr>
368+
</table>
369+
<![endif]-->
360370
</center>
361371
</body>
362372
</html>

cerberus-hybrid.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,13 @@
199199
<![endif]-->
200200

201201
</head>
202-
<body width="100%" bgcolor="#222222" style="margin: 0; mso-line-height-rule: exactly;">
202+
<body width="100%" style="margin: 0; mso-line-height-rule: exactly;">
203203
<center style="width: 100%; background: #222222; text-align: left;">
204+
<!--[if mso | IE]>
205+
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#222222">
206+
<tr>
207+
<td>
208+
<![endif]-->
204209

205210
<!-- Visually Hidden Preheader Text : BEGIN -->
206211
<div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;">
@@ -702,6 +707,11 @@ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-he
702707
</table>
703708
<!-- Full Bleed Background Section : END -->
704709

710+
<!--[if mso | IE]>
711+
</td>
712+
</tr>
713+
</table>
714+
<![endif]-->
705715
</center>
706716
</body>
707717
</html>

0 commit comments

Comments
 (0)