Unmasking HTML Emails

To defeat the many email clients, you’ll need to learn some special moves for your HTML and CSS. Here are the ones that we taught in Unmasking HTML Emails.

Opponent Move Countermove
Yahoo! Mail Applies margin: 0 to table elements Use table { margin: 0 auto !important; }
AOL Applies color: black to td elements Target all td elements with a color and !important in a style tag, or use inline styles
Apple Mail Windows Phone Mail Forces text to a minimum font-size: 14px Use -ms-text-size-adjust:none; -webkit-text-size-adjust:none; on any element with a font-size less than 14px
Apple Mail Sometimes adds an unstyled link to addresses, phone numbers, URLs, etc. Use a global style for all a elements and use a span with a class to target specific ones
Outlook 2007, 2010, 2013 The Word rendering engine only supports layout-related CSS on table elements. Use HTML tables for layout
Gmail Removes style elements Use inline styles for your entire email