SlideShare una empresa de Scribd logo
1 de 19
How to craft a
modern, mobile-
optimized HTML email
Jason Samuels, NCFR IT Manager
template
DrupalCamp Twin Cities – May
2012
Our old email template
                     Pros
                     • Simple
                     • Lightweight
                     • Worked as
                        plain-text
                     • Rendered OK
                        on mobile
                     Cons
                     • Outdated look
                     • Lots of junk
                        code = error
                        characters
                     • Inconsistent
                        with website


                                       2
Our new email template
                    Pros
                    • Simple
                    • Lightweight
                    • Works as
                       plain-text
                    More Pros!
                    • Preheader
                       text
                    • Optimized for
                       mobile (iOS)
                    • Consistent
                       with website
                    • Clean code
                    • Tested across
                       email clients


                                       3
How we got there
Three major resources made this possible:
• MailChimp (free templates and guide)
• Cameron Lefevre (NTC session on
  optimizing email for mobile)
• Email on Acid (testing service)




                                            4
MailChimp
• Free resources available at:
  http://mailchimp.com/resources/
• Email Jitsu guide:
  http://mailchimp.com/resources/guides/e
  mail-jitsu
• Free email templates:
  http://mailchimp.com/resources/html-
  email-templates

                                            5
Theming the template
• Open your website’s Style Guide page,
  start Firebug, and begin matching
  elements
• Focus on:
  – color
  – font-family
  – font-size
  – font-weight
  – line-height
                                          6
Mobile optimization
• Cameron Lefevre is my hero
• NTEN blog post introducing the issue:
  http://www.nten.org/articles/2012/the-
  age-of-mobile-email-has-arrived-are-you-
  ready
• NTC session notes (include code
  samples):
  http://labs.mrss.com/optimizing-email-for-
  mobile-phones-notes-from-ntc-2012/
                                           7
CSS3 @media query
@media screen and (max-width: 600px) {
   table.emailtable, td.emailcontent {
                                          By defining alternate styles in
   width: 95% !important;
   }
   h1, h2, h3, h4 {
                                          the CSS for devices based
   text-align:center !important;
   }
   .nomob {                               on their maximum screen
   display: none !important;
   }
   .headerContent{                        width, some elements can be
   text-align:center !important;
   }
   a.baemailfooternav {
   display: block !important;
                                          transformed or hidden to
   font-size: 14px !important;
   font-weight: bold !important;
   padding: 6px 4px 8px 4px !important;
                                          make for a more user-friendly
   line-height: 18px !important;
   background: #dddddd !important;
   border-radius: 5px !important;
                                          format
   margin: 10px auto;
   width: 240px;
   text-align: center;
   }
   }




                                                                        8
CSS3 @media query
@media screen and (max-width: 600px) {
   table.emailtable, td.emailcontent {
                                          • Defines when mobile styles
   width: 95% !important;
   }
   h1, h2, h3, h4 {
                                            get called
   text-align:center !important;
   }
   .nomob {
   display: none !important;
                                          • This query applies format
   }
   .headerContent{
   text-align:center !important;
                                            on screens up to 600px
   }
   a.baemailfooternav {
   display: block !important;
                                            wide
   font-size: 14px !important;
   font-weight: bold !important;
   padding: 6px 4px 8px 4px !important;
   line-height: 18px !important;
                                          • Main table gets re-sized
   background: #dddddd !important;
   border-radius: 5px !important;
   margin: 10px auto;
                                            from 600px down to 95% of
   width: 240px;
   text-align: center;
   }                                        the screen’s width
   }




                                                                     9
CSS3 @media query
@media screen and (max-width: 600px) {
   table.emailtable, td.emailcontent {
                                          • Header tags and header
   width: 95% !important;
   }
   h1, h2, h3, h4 {
                                            content get centered when
   text-align:center !important;
   }
   .nomob {                                 viewed on mobile
   display: none !important;
   }
   .headerContent{
   text-align:center !important;
                                          • nomob is used to hide
   }
   a.baemailfooternav {
   display: block !important;
                                            elements on mobile
   font-size: 14px !important;
   font-weight: bold !important;
   padding: 6px 4px 8px 4px !important;
   line-height: 18px !important;
   background: #dddddd !important;
   border-radius: 5px !important;
   margin: 10px auto;
   width: 240px;
   text-align: center;
   }
   }




                                                                    10
CSS3 @media query
@media screen and (max-width: 600px) {
   table.emailtable, td.emailcontent {
                                         Transforms styling in the
   width: 95% !important;
   }
   h1, h2, h3, h4 {
                                         footer navigation when
   text-align:center !important;
   }
   .nomob {                              viewed on mobile. In
   display: none !important;
   }
   .headerContent{                       particular, this code takes
   text-align:center !important;
   }
   a.baemailfooternav {
   display: block !important;
                                         ordinary text links and turns
   font-size: 14px !important;
   font-weight: bold !important;
   padding: 6px 4px 8px
                                         them into easy-to-press
   4px !important;
   line-height: 18px !important;
   background: #dddddd !important;
                                         buttons.
   border-radius: 5px !important;
   margin: 10px auto;
   width: 240px;
   text-align: center;
   }
   }




                                                                         11
@media query example




Mobile transformation




  <a href="http://www.twitter.com/ncfr" class="baemailfooternav">follow on
                 Twitter</a><span class="nomob"> | </span><a
 href="http://www.facebook.com/ncfrpage" class="baemailfooternav">friend
        on Facebook</a><span class="nomob"> | </span><a href="-"
               class="baemailfooternav">forward to a friend</a>


                                                                             12
Email on Acid
• Cross-client email testing service
• Shows how your message displays in 45
  combinations of email services,
  browsers, and clients
• Plus code analysis and spam filter testing
• $35/month for unlimited testing
  – Discounted for longer term commitments
  – $2 - $5 per test a la carte pricing available

                                                    13
Email on Acid – Test
Results




                       14
Don’t use bullet points (or
numbered lists)
•   Some webmail clients left justify them
•   Some webmail clients center them
•   Some left-justify lists & center the content
•   Path of least resistance = ditch the <ol>
    tag, go w/ asterisks & line breaks instead




                                               15
<p align=”left”>
• GMail and Yahoo Mail default paragraph
  (<p>) tags to align center align when
  viewed in Internet Explorer
• Other browsers still align paragraphs left
• Why? I don’t know.
• Forcing the alignment left fixes it



                                               16
Preheader table needed a
background color
• Although it’s already defined in the CSS,
  Yahoo Mail doesn’t show it
• With the repeating blue stripe at the top
  of our template, that resulted in dark text
  on a dark background




                                                17
Voila!
• This was not a short process
• Took a lot of work and dozens of tests to
  get it right
• End result looks pretty darn good though,
  and stays looking good across all of the
  popular email clients



                                          18
Additional Resources
• Email on Acid blog:
  http://www.emailonacid.com/blog
• Campaign Monitor blog:
  http://www.campaignmonitor.com/blog/
• My blog: http://blog.jasonsamuels.net




                                          19

Más contenido relacionado

Más de Jason Samuels

Managing Technology on a Budget
Managing Technology on a BudgetManaging Technology on a Budget
Managing Technology on a BudgetJason Samuels
 
The Intersection of Technology and Social Media with Work/Family
The Intersection of Technology and Social Media with Work/FamilyThe Intersection of Technology and Social Media with Work/Family
The Intersection of Technology and Social Media with Work/FamilyJason Samuels
 
NCFR Honoring Mentors Slideshow
NCFR Honoring Mentors SlideshowNCFR Honoring Mentors Slideshow
NCFR Honoring Mentors SlideshowJason Samuels
 
Using Web 2.0 to Enhance Relationships and Further Your Message
Using Web 2.0 to Enhance Relationships and Further Your MessageUsing Web 2.0 to Enhance Relationships and Further Your Message
Using Web 2.0 to Enhance Relationships and Further Your MessageJason Samuels
 
A Celebration Of The Life Of Gay Capouch Kitson
A Celebration Of The Life Of Gay Capouch KitsonA Celebration Of The Life Of Gay Capouch Kitson
A Celebration Of The Life Of Gay Capouch KitsonJason Samuels
 
Getting Started With Twitter
Getting Started With TwitterGetting Started With Twitter
Getting Started With TwitterJason Samuels
 
Getting Started With Flickr
Getting Started With FlickrGetting Started With Flickr
Getting Started With FlickrJason Samuels
 
Oh No, Not Another Web 2.0 Presentation!
Oh No, Not Another Web 2.0 Presentation!Oh No, Not Another Web 2.0 Presentation!
Oh No, Not Another Web 2.0 Presentation!Jason Samuels
 

Más de Jason Samuels (8)

Managing Technology on a Budget
Managing Technology on a BudgetManaging Technology on a Budget
Managing Technology on a Budget
 
The Intersection of Technology and Social Media with Work/Family
The Intersection of Technology and Social Media with Work/FamilyThe Intersection of Technology and Social Media with Work/Family
The Intersection of Technology and Social Media with Work/Family
 
NCFR Honoring Mentors Slideshow
NCFR Honoring Mentors SlideshowNCFR Honoring Mentors Slideshow
NCFR Honoring Mentors Slideshow
 
Using Web 2.0 to Enhance Relationships and Further Your Message
Using Web 2.0 to Enhance Relationships and Further Your MessageUsing Web 2.0 to Enhance Relationships and Further Your Message
Using Web 2.0 to Enhance Relationships and Further Your Message
 
A Celebration Of The Life Of Gay Capouch Kitson
A Celebration Of The Life Of Gay Capouch KitsonA Celebration Of The Life Of Gay Capouch Kitson
A Celebration Of The Life Of Gay Capouch Kitson
 
Getting Started With Twitter
Getting Started With TwitterGetting Started With Twitter
Getting Started With Twitter
 
Getting Started With Flickr
Getting Started With FlickrGetting Started With Flickr
Getting Started With Flickr
 
Oh No, Not Another Web 2.0 Presentation!
Oh No, Not Another Web 2.0 Presentation!Oh No, Not Another Web 2.0 Presentation!
Oh No, Not Another Web 2.0 Presentation!
 

Último

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Último (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

How to craft a modern, mobile-optimized HTML email template

  • 1. How to craft a modern, mobile- optimized HTML email Jason Samuels, NCFR IT Manager template DrupalCamp Twin Cities – May 2012
  • 2. Our old email template Pros • Simple • Lightweight • Worked as plain-text • Rendered OK on mobile Cons • Outdated look • Lots of junk code = error characters • Inconsistent with website 2
  • 3. Our new email template Pros • Simple • Lightweight • Works as plain-text More Pros! • Preheader text • Optimized for mobile (iOS) • Consistent with website • Clean code • Tested across email clients 3
  • 4. How we got there Three major resources made this possible: • MailChimp (free templates and guide) • Cameron Lefevre (NTC session on optimizing email for mobile) • Email on Acid (testing service) 4
  • 5. MailChimp • Free resources available at: http://mailchimp.com/resources/ • Email Jitsu guide: http://mailchimp.com/resources/guides/e mail-jitsu • Free email templates: http://mailchimp.com/resources/html- email-templates 5
  • 6. Theming the template • Open your website’s Style Guide page, start Firebug, and begin matching elements • Focus on: – color – font-family – font-size – font-weight – line-height 6
  • 7. Mobile optimization • Cameron Lefevre is my hero • NTEN blog post introducing the issue: http://www.nten.org/articles/2012/the- age-of-mobile-email-has-arrived-are-you- ready • NTC session notes (include code samples): http://labs.mrss.com/optimizing-email-for- mobile-phones-notes-from-ntc-2012/ 7
  • 8. CSS3 @media query @media screen and (max-width: 600px) { table.emailtable, td.emailcontent { By defining alternate styles in width: 95% !important; } h1, h2, h3, h4 { the CSS for devices based text-align:center !important; } .nomob { on their maximum screen display: none !important; } .headerContent{ width, some elements can be text-align:center !important; } a.baemailfooternav { display: block !important; transformed or hidden to font-size: 14px !important; font-weight: bold !important; padding: 6px 4px 8px 4px !important; make for a more user-friendly line-height: 18px !important; background: #dddddd !important; border-radius: 5px !important; format margin: 10px auto; width: 240px; text-align: center; } } 8
  • 9. CSS3 @media query @media screen and (max-width: 600px) { table.emailtable, td.emailcontent { • Defines when mobile styles width: 95% !important; } h1, h2, h3, h4 { get called text-align:center !important; } .nomob { display: none !important; • This query applies format } .headerContent{ text-align:center !important; on screens up to 600px } a.baemailfooternav { display: block !important; wide font-size: 14px !important; font-weight: bold !important; padding: 6px 4px 8px 4px !important; line-height: 18px !important; • Main table gets re-sized background: #dddddd !important; border-radius: 5px !important; margin: 10px auto; from 600px down to 95% of width: 240px; text-align: center; } the screen’s width } 9
  • 10. CSS3 @media query @media screen and (max-width: 600px) { table.emailtable, td.emailcontent { • Header tags and header width: 95% !important; } h1, h2, h3, h4 { content get centered when text-align:center !important; } .nomob { viewed on mobile display: none !important; } .headerContent{ text-align:center !important; • nomob is used to hide } a.baemailfooternav { display: block !important; elements on mobile font-size: 14px !important; font-weight: bold !important; padding: 6px 4px 8px 4px !important; line-height: 18px !important; background: #dddddd !important; border-radius: 5px !important; margin: 10px auto; width: 240px; text-align: center; } } 10
  • 11. CSS3 @media query @media screen and (max-width: 600px) { table.emailtable, td.emailcontent { Transforms styling in the width: 95% !important; } h1, h2, h3, h4 { footer navigation when text-align:center !important; } .nomob { viewed on mobile. In display: none !important; } .headerContent{ particular, this code takes text-align:center !important; } a.baemailfooternav { display: block !important; ordinary text links and turns font-size: 14px !important; font-weight: bold !important; padding: 6px 4px 8px them into easy-to-press 4px !important; line-height: 18px !important; background: #dddddd !important; buttons. border-radius: 5px !important; margin: 10px auto; width: 240px; text-align: center; } } 11
  • 12. @media query example Mobile transformation <a href="http://www.twitter.com/ncfr" class="baemailfooternav">follow on Twitter</a><span class="nomob"> | </span><a href="http://www.facebook.com/ncfrpage" class="baemailfooternav">friend on Facebook</a><span class="nomob"> | </span><a href="-" class="baemailfooternav">forward to a friend</a> 12
  • 13. Email on Acid • Cross-client email testing service • Shows how your message displays in 45 combinations of email services, browsers, and clients • Plus code analysis and spam filter testing • $35/month for unlimited testing – Discounted for longer term commitments – $2 - $5 per test a la carte pricing available 13
  • 14. Email on Acid – Test Results 14
  • 15. Don’t use bullet points (or numbered lists) • Some webmail clients left justify them • Some webmail clients center them • Some left-justify lists & center the content • Path of least resistance = ditch the <ol> tag, go w/ asterisks & line breaks instead 15
  • 16. <p align=”left”> • GMail and Yahoo Mail default paragraph (<p>) tags to align center align when viewed in Internet Explorer • Other browsers still align paragraphs left • Why? I don’t know. • Forcing the alignment left fixes it 16
  • 17. Preheader table needed a background color • Although it’s already defined in the CSS, Yahoo Mail doesn’t show it • With the repeating blue stripe at the top of our template, that resulted in dark text on a dark background 17
  • 18. Voila! • This was not a short process • Took a lot of work and dozens of tests to get it right • End result looks pretty darn good though, and stays looking good across all of the popular email clients 18
  • 19. Additional Resources • Email on Acid blog: http://www.emailonacid.com/blog • Campaign Monitor blog: http://www.campaignmonitor.com/blog/ • My blog: http://blog.jasonsamuels.net 19