mailgun / transactional-email-templates

Responsive transactional HTML email templates
http://blog.mailgun.com/transactional-html-email-templates/
MIT License
6.91k stars 1.15k forks source link

Color of copy in footer ignored by Outlook, Thunderbird #14

Closed lembitk closed 9 years ago

lembitk commented 9 years ago

The #999 gray (40% of black) is currently applied to (a) the footer's wrapper <div> and (b) the <a> links inside it. As could be observed within the original Litmus test result screenshots from the repo's README, the following email clients won't inherit and apply the color value from the wrapper <div> to the text inside it: Thunderbird, Outlook 2007, Outlook 2010, Outlook 2013.

The fix is to declare CSS color also for the actual container element containing the copy, e.g. the container <td> inside <div class="footer">. In other words, the color has to be applied “closer” to the text. Here are the results after doing just that (links to Email On Acid test results):

  1. Thunderbird;
  2. Outlook 2007;
  3. Outlook 2010;
  4. Outlook 2013.

A minor thingy, but might be worth improving – PR proposal is coming up.