SlideShare a Scribd company logo
1 of 43
Download to read offline
Email Design Workshop –
  Don’t Let Bad Code Ruin
  Your Day or Your Results

#11NTCemail

Sean Powell
Shana Masterson
WARNING
      Coding for email is different
      than coding for the web



!     There are no standards for
      displaying email HTML
Goodbye...
                      ✗    web design best practices
                      ✗    divs
                      ✗    flash, js
                      ✗    external CSS


Hello…
✔ coding for all email clients
✔ tables
✔ inline CSS
✔ code like it’s 1999!
http://litmus.com/resources/email-client-stats
http://www.campaignmonitor.com/stats/email-clients/#most_popular
What’s the big deal?




Ensure consistent branding across all clients and messages
Email client rendering engines




http://www.emailonacid.com/blog/details/C6/strategies-for-email-testing
http://www.campaignmonitor.com/css
Better practices
✔    When possible, allow plenty of time for review and coding

✔    Don’t trust the WYSIWYG or HTML editors

✔    Use a good text editor
     •  Smultron - http://www.peterborgapps.com/smultron/ (Mac)
     •  Komodo Edit - http://www.activestate.com/komodo-edit/
     •  Code Lobster - http://www.codelobster.com/

✔    Use a tool like premailer to make your styles inline –
     http://premailer.dialect.ca/

✔    Include a “View on web” option and/or use alt text in your
     header “Please turn on images”
Testing
Option 1

✔ Set up many test email accounts and test in various browsers.
    *Hint – Choose a user name and password that will work
    consistently across clients.
✔ Install several desktop email programs for testing.
✔ Test on Mac and PC.

Option 2

✔ Use a paid service
    *Litmus – litmus.com
    *Email on Acid – emailonacid.com
Email style guide




http://www.wireless.att.com/styleguide/guide/email_templates.jsp
HTML cheat sheet excerpt
The Email Standards Project
                           The Email Standards Project is about working
                           with email client developers and the design
                           community to improve web standards support
                           and accessibility in email. The project was
                           formed out of frustration with the inconsistent
                           rendering of HTML emails in major email
                           clients.

                           Our mission is to drive the use and support of
                           web standards in email, working with email
                           client developers to ensure that emails render
                           consistently. This is a community effort to
                           improve the email experience for designers
                           and readers, and we’d love your help.



www.email-standards.org/
rolling up our sleeves
A few notes about…
✔ What’s meant by “inline”
   •  Moving styles from an external style sheet/HEAD to within
      the containing tag.
   •  Looks like: style=“width: 100px; height:100px;…”
Inline: changes this…
…to this
…some more basics
•  Setting heights and widths of images, tables, etc.
•  Limited use of margin/padding
•  Limited support for divs
•  Best to use tables to format your message - nesting helps too
•  No shortcuts (use border-left-style instead of border: 1px solid
   #000)
•  Define your alt and/or title attributes (set title for Outlook 07)
•  Absolute paths for images       ✗	
  




•  Use the character entity equivalent for special characters like
   em-dashes, right/left double quotes, and ampersands
Character Entities
List of character entities that you can code into your message to
get that em-dash(—), ampersand(&), or right double
quote(”) to render correctly.

For example:

Em-dash = —
Ampersand =&


A more complete list:
http://www.intuitive.com/coolweb/entities.html
Just say no to
✔  background images (although there is a hack now…)
✔  using png’s
✔  using floats for alignment
✔  using divs (somewhat)
✔  CSS3
✔  negative margins
✔  overflow, opacity, position, etc
                                   ✗	
  
✔  embedded video (there are some interesting things on the
   horizon)
✔  fun.
lets take a look at some
          code
What HTML DOCTYPE should I use?
The xHTML 1.0 Transitional doctype is widely used when sending
HTML email to help uniformity. Take this with a grain of salt,
however, as many email clients will either change it to their
preference or remove it altogether.



<Markup>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN”
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
    transitional.dtd">

http://www.campaignmonitor.com/blog/post/3317/correct-doctype-to-use-
in-html-email/
http://www.emailonacid.com/blog/details/C18/doctype_-
_the_black_sheep_of_html_email_design
Using tables
Tables are the most common way to format your email consistently.

Use a wrapper table to center and set a background for your
emails.

Set your table widths inside cells and in most cases reset
cellpadding, cellspacing, and border to zero.

Note: Use nested tables as a way to space effectively in your
message.
✗	
  
<Markup>
<table cellpadding="0” cellspacing="0" border="0">
       <tbody>
       <tr>
            <td width="300"></td>
            <td width="300"></td>
            <td width="300"></td>
       </tr>
       </tbody>
</table>
<!-- end example table-->
P tags
Fixes an issue with the (new) Yahoo Email client where standard
paragraph spacing is not applied (most likely due to a reset of
some sort).

Note: Many insert a double break (<br />) to create the same
“paragraph” type effect.


<Markup>
   <style type="text/css">
   .
   .
   p {margin: 1em 0 1em 0;}
   .
   .
   </style>
Before




After
Hotmail header fix
Hotmail replaces your header color styles with a green color
on H2, H3, H4, H5, and H6 tags.

In the following example, the color is reset to black. Replace black
with your choice of color. The !important declaration is really what
is overriding Hotmail's styling.

NOTE: Hotmail also sets the H1 and H2 tags to the same size.
<Markup>
<style type="text/css">
.
.
.
h1, h2, h3, h4, h5, h6 {
   color: black !important;
   line-height: 100% !important;
      }

h2 a, h2 a:visited, h3 a, h3 a:visited {
   color: grey !important; /* Preferably not the same
color as the normal header color. */
      }
.
.
.
</style>
Before




After
Yahoo link color fix (1 of 2)
This fix overwrites Yahoo mail's specific blue coloring on links. It,
however, does not set color across email clients that ignore CSS in
the HEAD tag. You will still have to bring this inline for gmail/
others.




http://www.campaignmonitor.com/blog/post/3226/two-solutions-to-yahoo-
mail-turning-all-your-links-blue/
<Markup>
a { color: red; text-decoration: underline;} /** Yahoo
Classic and other clients that support styling within the
HEAD tags **/

.yshortcuts { color: red !important; text-decoration:
underline !important;} /* Body text color for the New Yahoo
*/

.yshortcuts a span { color: red !important; text-decoration:
underline !important; } /* Link text color for the New Yahoo
*/


Note: This example sets the link color red.
Yahoo link color fix (2 of 2)
Simply override the styling color and decoration inline. Do not use
in combination with fix number 1 unless you want to style the
"yshortcuts" class separately, which this code allows you to do.
(INLINE)



<Markup>
    <a href="http://www.responsys.com/blogs/nsm/2010/07/
    feeling-blue-over-yahoo-email.html" style="color:red;
    text-decoration:underline;"><span
    style="color:red;">Here is another fix for Yahoo from
    Responsys/Smith Harmon
    </span></a>
Before




After
Hotmail/Gmail image issue
Hotmail and Gmail inserts unwanted spacing underneath
your images. Use this fix to properly space images that line up
right on top of each other.


<Markup>
    img {display: block;} //Place in the <head> area

                               OR

    <img src=“yourimage.jpg” style=“display: block;”
    alt=“your alt text” width=“x” height=“x” />
@Media
Using @Media queries can help target mobile devices, like
handhelds and tablets. While definitely not widely supported, it is
has become supported enough where you can target users of
iphones, android based phones, ipads, etc when they are using the
built in software apps to access email.
<Markup>
      <style type="text/css">
      .
      .
      @media only screen and (max-device-width: 480px{
         Your iphone/handheld styles here
      .
      .
      @media only screen and (device-width: 768px{
         Your ipad styles here
      }
      .
      .
      </style>

Note: Try experimenting with portrait and landscape
modes.
http://www.campaignmonitor.com/blog/post/3163/optimizing-your-emails-
for-mobile-devices-with-media/
http://css-tricks.com/snippets/css/ipad-specific-css/
in the year 2000
    Embedding video
    @Font-face
    CSS3 (or 2 or 1)
    Dynamic content
    Google (gmail) – enhanced content
    From other companies like Movable Ink
Resources
✔    http://htmlemailboilerplate.com/

✔    www.campaignmonitor.com

✔    www.mailchimp.com

✔  www.emailonacid.com
 • ddf	
  
✔  www.mxtoolbox.com/

✔    www.senderscore.org

✔    aws.amazon.com/ses/

✔    www.scribd.com/doc/28520824/Email-Jitsu
</presentation>
Session Evaluation
  Each entry via text or web is a chance to win
     great NTEN prizes throughout the day!


          TEXT               ONLINE
     Text #11NTCemail to     Use #11NTCemail at
           69866.          http://nten.org/ntc/eval




Session Evaluations
       Powered By:

More Related Content

What's hot

20130909_GODEL Style Guide Guide
20130909_GODEL Style Guide Guide20130909_GODEL Style Guide Guide
20130909_GODEL Style Guide GuideMilly Schmidt
 
Wunderman template 3x4_jan 2012
Wunderman template 3x4_jan 2012Wunderman template 3x4_jan 2012
Wunderman template 3x4_jan 2012catawunderman
 
Html web designing 1
Html web designing 1Html web designing 1
Html web designing 1mannely
 
HTML Foundations, part 1
HTML Foundations, part 1HTML Foundations, part 1
HTML Foundations, part 1Shawn Calvert
 
Oscommerce Setup
Oscommerce  SetupOscommerce  Setup
Oscommerce Setuphtzone
 
Web Design 1: Introductions
Web Design 1: IntroductionsWeb Design 1: Introductions
Web Design 1: IntroductionsShawn Calvert
 
Reviewing Screen Based Content: Demo Examples
Reviewing Screen Based Content: Demo ExamplesReviewing Screen Based Content: Demo Examples
Reviewing Screen Based Content: Demo ExamplesRhonda Bracey
 
Adobe Best Practice
Adobe Best PracticeAdobe Best Practice
Adobe Best PracticeKaren Baker
 
Intro wordpress
Intro wordpressIntro wordpress
Intro wordpresskimvanheng
 
Intro wordpress
Intro wordpressIntro wordpress
Intro wordpresskimvanheng
 
Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6Krista Lawrence
 
Techniques for Reviewing a User Interface
Techniques for Reviewing a User InterfaceTechniques for Reviewing a User Interface
Techniques for Reviewing a User InterfaceRhonda Bracey
 
Reviewing Screen-Based Content
Reviewing Screen-Based ContentReviewing Screen-Based Content
Reviewing Screen-Based ContentRhonda Bracey
 
Mail marketing free_guide
Mail marketing free_guideMail marketing free_guide
Mail marketing free_guideyanzhenginfo
 
Submit An Seo Press Release How To Guide
Submit An Seo Press Release   How To GuideSubmit An Seo Press Release   How To Guide
Submit An Seo Press Release How To GuideChristine OKelly
 
Save time and your sanity: Increase your efficiency with Microsoft Word (shor...
Save time and your sanity: Increase your efficiency with Microsoft Word (shor...Save time and your sanity: Increase your efficiency with Microsoft Word (shor...
Save time and your sanity: Increase your efficiency with Microsoft Word (shor...Rhonda Bracey
 

What's hot (17)

20130909_GODEL Style Guide Guide
20130909_GODEL Style Guide Guide20130909_GODEL Style Guide Guide
20130909_GODEL Style Guide Guide
 
Wunderman template 3x4_jan 2012
Wunderman template 3x4_jan 2012Wunderman template 3x4_jan 2012
Wunderman template 3x4_jan 2012
 
Html web designing 1
Html web designing 1Html web designing 1
Html web designing 1
 
HTML Foundations, part 1
HTML Foundations, part 1HTML Foundations, part 1
HTML Foundations, part 1
 
Oscommerce Setup
Oscommerce  SetupOscommerce  Setup
Oscommerce Setup
 
Web Design 1: Introductions
Web Design 1: IntroductionsWeb Design 1: Introductions
Web Design 1: Introductions
 
Reviewing Screen Based Content: Demo Examples
Reviewing Screen Based Content: Demo ExamplesReviewing Screen Based Content: Demo Examples
Reviewing Screen Based Content: Demo Examples
 
Adobe Best Practice
Adobe Best PracticeAdobe Best Practice
Adobe Best Practice
 
Intro wordpress
Intro wordpressIntro wordpress
Intro wordpress
 
Intro wordpress
Intro wordpressIntro wordpress
Intro wordpress
 
Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6
 
Techniques for Reviewing a User Interface
Techniques for Reviewing a User InterfaceTechniques for Reviewing a User Interface
Techniques for Reviewing a User Interface
 
Reviewing Screen-Based Content
Reviewing Screen-Based ContentReviewing Screen-Based Content
Reviewing Screen-Based Content
 
Mail marketing free_guide
Mail marketing free_guideMail marketing free_guide
Mail marketing free_guide
 
Submit An Seo Press Release How To Guide
Submit An Seo Press Release   How To GuideSubmit An Seo Press Release   How To Guide
Submit An Seo Press Release How To Guide
 
Unit 2.3
Unit 2.3Unit 2.3
Unit 2.3
 
Save time and your sanity: Increase your efficiency with Microsoft Word (shor...
Save time and your sanity: Increase your efficiency with Microsoft Word (shor...Save time and your sanity: Increase your efficiency with Microsoft Word (shor...
Save time and your sanity: Increase your efficiency with Microsoft Word (shor...
 

Viewers also liked

Score More Money Online: Five Simple Ways to Change the Game
Score More Money Online: Five Simple Ways to Change the GameScore More Money Online: Five Simple Ways to Change the Game
Score More Money Online: Five Simple Ways to Change the GameShana Masterson
 
2014 P2P Benchmark Study - Data Preview
2014 P2P Benchmark Study - Data Preview2014 P2P Benchmark Study - Data Preview
2014 P2P Benchmark Study - Data PreviewShana Masterson
 
Embrace the Benefits
Embrace the BenefitsEmbrace the Benefits
Embrace the BenefitsJenn Murphy
 
Going Mobile - Responsive Design for the American Diabetes Association
Going Mobile - Responsive Design for the American Diabetes AssociationGoing Mobile - Responsive Design for the American Diabetes Association
Going Mobile - Responsive Design for the American Diabetes AssociationShana Masterson
 
Mapping Mobile Technology to Strategy
Mapping Mobile Technology to StrategyMapping Mobile Technology to Strategy
Mapping Mobile Technology to StrategyShana Masterson
 
Responsive Website Design in TeamRaiser
Responsive Website Design in TeamRaiserResponsive Website Design in TeamRaiser
Responsive Website Design in TeamRaiserShana Masterson
 
Take Your Peer-to-Peer Fundraising Program from Good to Great!
Take Your Peer-to-Peer Fundraising Program from Good to Great!Take Your Peer-to-Peer Fundraising Program from Good to Great!
Take Your Peer-to-Peer Fundraising Program from Good to Great!Shana Masterson
 
2014 P2P Benchmark Study - Team Data Reveal
2014 P2P Benchmark Study - Team Data Reveal2014 P2P Benchmark Study - Team Data Reveal
2014 P2P Benchmark Study - Team Data RevealShana Masterson
 
Using Engagement Tactics to Drive Event Results
Using Engagement Tactics to Drive Event ResultsUsing Engagement Tactics to Drive Event Results
Using Engagement Tactics to Drive Event ResultsShana Masterson
 
Using Data to Drive Your P2P Fundraising Strategies
Using Data to Drive Your P2P Fundraising StrategiesUsing Data to Drive Your P2P Fundraising Strategies
Using Data to Drive Your P2P Fundraising StrategiesShana Masterson
 
Writing Effective Emails
Writing Effective EmailsWriting Effective Emails
Writing Effective EmailsShana Masterson
 
It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...
It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...
It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...Shana Masterson
 
Email Do's and Don'ts For Peer-to-Peer Fundraising
Email Do's and Don'ts For Peer-to-Peer FundraisingEmail Do's and Don'ts For Peer-to-Peer Fundraising
Email Do's and Don'ts For Peer-to-Peer FundraisingShana Masterson
 
Strategies for Registration Fees AND Participant Fundraising
Strategies for Registration Fees AND Participant FundraisingStrategies for Registration Fees AND Participant Fundraising
Strategies for Registration Fees AND Participant FundraisingShana Masterson
 
2015 BBCON - P2P Geek Out
2015 BBCON - P2P Geek Out2015 BBCON - P2P Geek Out
2015 BBCON - P2P Geek OutShana Masterson
 
Retention - It's All About The Base
Retention - It's All About The BaseRetention - It's All About The Base
Retention - It's All About The BaseShana Masterson
 

Viewers also liked (18)

Score More Money Online: Five Simple Ways to Change the Game
Score More Money Online: Five Simple Ways to Change the GameScore More Money Online: Five Simple Ways to Change the Game
Score More Money Online: Five Simple Ways to Change the Game
 
2014 P2P Benchmark Study - Data Preview
2014 P2P Benchmark Study - Data Preview2014 P2P Benchmark Study - Data Preview
2014 P2P Benchmark Study - Data Preview
 
Embrace the Benefits
Embrace the BenefitsEmbrace the Benefits
Embrace the Benefits
 
Going Mobile - Responsive Design for the American Diabetes Association
Going Mobile - Responsive Design for the American Diabetes AssociationGoing Mobile - Responsive Design for the American Diabetes Association
Going Mobile - Responsive Design for the American Diabetes Association
 
Mapping Mobile Technology to Strategy
Mapping Mobile Technology to StrategyMapping Mobile Technology to Strategy
Mapping Mobile Technology to Strategy
 
Email Makeover
Email MakeoverEmail Makeover
Email Makeover
 
Responsive Website Design in TeamRaiser
Responsive Website Design in TeamRaiserResponsive Website Design in TeamRaiser
Responsive Website Design in TeamRaiser
 
Take Your Peer-to-Peer Fundraising Program from Good to Great!
Take Your Peer-to-Peer Fundraising Program from Good to Great!Take Your Peer-to-Peer Fundraising Program from Good to Great!
Take Your Peer-to-Peer Fundraising Program from Good to Great!
 
2014 P2P Benchmark Study - Team Data Reveal
2014 P2P Benchmark Study - Team Data Reveal2014 P2P Benchmark Study - Team Data Reveal
2014 P2P Benchmark Study - Team Data Reveal
 
Using Engagement Tactics to Drive Event Results
Using Engagement Tactics to Drive Event ResultsUsing Engagement Tactics to Drive Event Results
Using Engagement Tactics to Drive Event Results
 
Using Data to Drive Your P2P Fundraising Strategies
Using Data to Drive Your P2P Fundraising StrategiesUsing Data to Drive Your P2P Fundraising Strategies
Using Data to Drive Your P2P Fundraising Strategies
 
Writing Effective Emails
Writing Effective EmailsWriting Effective Emails
Writing Effective Emails
 
It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...
It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...
It's Working for Us - Could It Work For You? Creative Concepts in Peer-to-Pee...
 
Email Do's and Don'ts For Peer-to-Peer Fundraising
Email Do's and Don'ts For Peer-to-Peer FundraisingEmail Do's and Don'ts For Peer-to-Peer Fundraising
Email Do's and Don'ts For Peer-to-Peer Fundraising
 
Work Better Together
Work Better TogetherWork Better Together
Work Better Together
 
Strategies for Registration Fees AND Participant Fundraising
Strategies for Registration Fees AND Participant FundraisingStrategies for Registration Fees AND Participant Fundraising
Strategies for Registration Fees AND Participant Fundraising
 
2015 BBCON - P2P Geek Out
2015 BBCON - P2P Geek Out2015 BBCON - P2P Geek Out
2015 BBCON - P2P Geek Out
 
Retention - It's All About The Base
Retention - It's All About The BaseRetention - It's All About The Base
Retention - It's All About The Base
 

Similar to Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results

HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usabilityKeith Kmett
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfDark179280
 
HTML email best practices
HTML email best practicesHTML email best practices
HTML email best practicesJeffrey Barke
 
HTML email best practices
HTML email best practicesHTML email best practices
HTML email best practicesJeffrey Barke
 
Interactive Responsive Emails - Creative ways to innovate in email development
Interactive Responsive Emails - Creative ways to innovate in email developmentInteractive Responsive Emails - Creative ways to innovate in email development
Interactive Responsive Emails - Creative ways to innovate in email developmentMichael Posso
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
HTML Email Best Practice
HTML Email Best PracticeHTML Email Best Practice
HTML Email Best PracticeAmit Jain
 
12 steps for better emailing results v3
12 steps for better emailing results v312 steps for better emailing results v3
12 steps for better emailing results v3François-Yves Prigent
 
Lesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfLesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfAshleyJovelClavecill
 
Html For Email - Technical Tips and Tricks Developing Emails
Html For Email - Technical Tips and Tricks Developing EmailsHtml For Email - Technical Tips and Tricks Developing Emails
Html For Email - Technical Tips and Tricks Developing EmailsSalesforce Marketing Cloud
 
Responsys email design-coding_recommendations
Responsys email design-coding_recommendationsResponsys email design-coding_recommendations
Responsys email design-coding_recommendationsTeddy Koornia
 
Pure360 Creative Guidelines for Email Marketing
Pure360 Creative Guidelines for Email MarketingPure360 Creative Guidelines for Email Marketing
Pure360 Creative Guidelines for Email MarketingPure360
 
Responsive HTML Email with Drupal
Responsive HTML Email with DrupalResponsive HTML Email with Drupal
Responsive HTML Email with DrupalDrew Gorton
 
Conquering Code with hjc
Conquering Code with hjcConquering Code with hjc
Conquering Code with hjchjc
 
Recommendations for On-Page SEO
Recommendations for On-Page SEORecommendations for On-Page SEO
Recommendations for On-Page SEOancyta
 
Mobile Email 2012
Mobile Email 2012Mobile Email 2012
Mobile Email 2012Andy Thorpe
 

Similar to Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results (20)

HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
 
Creative Guidelines
Creative GuidelinesCreative Guidelines
Creative Guidelines
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdf
 
Email dssign rules
Email dssign rulesEmail dssign rules
Email dssign rules
 
HTML email best practices
HTML email best practicesHTML email best practices
HTML email best practices
 
HTML email best practices
HTML email best practicesHTML email best practices
HTML email best practices
 
Interactive Responsive Emails - Creative ways to innovate in email development
Interactive Responsive Emails - Creative ways to innovate in email developmentInteractive Responsive Emails - Creative ways to innovate in email development
Interactive Responsive Emails - Creative ways to innovate in email development
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
HTML Email Best Practice
HTML Email Best PracticeHTML Email Best Practice
HTML Email Best Practice
 
HTML
HTMLHTML
HTML
 
12 steps for better emailing results v3
12 steps for better emailing results v312 steps for better emailing results v3
12 steps for better emailing results v3
 
Lesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdfLesson 8 Computer Creating your Website.pdf
Lesson 8 Computer Creating your Website.pdf
 
Html For Email - Technical Tips and Tricks Developing Emails
Html For Email - Technical Tips and Tricks Developing EmailsHtml For Email - Technical Tips and Tricks Developing Emails
Html For Email - Technical Tips and Tricks Developing Emails
 
Responsys email design-coding_recommendations
Responsys email design-coding_recommendationsResponsys email design-coding_recommendations
Responsys email design-coding_recommendations
 
Pure360 Creative Guidelines for Email Marketing
Pure360 Creative Guidelines for Email MarketingPure360 Creative Guidelines for Email Marketing
Pure360 Creative Guidelines for Email Marketing
 
Responsive HTML Email with Drupal
Responsive HTML Email with DrupalResponsive HTML Email with Drupal
Responsive HTML Email with Drupal
 
Conquering Code with hjc
Conquering Code with hjcConquering Code with hjc
Conquering Code with hjc
 
Recommendations for On-Page SEO
Recommendations for On-Page SEORecommendations for On-Page SEO
Recommendations for On-Page SEO
 
Mobile Email 2012
Mobile Email 2012Mobile Email 2012
Mobile Email 2012
 

More from Shana Masterson

Registration Optimization
Registration OptimizationRegistration Optimization
Registration OptimizationShana Masterson
 
Peer-to-Peer Boot Camp: Target Muscles to Get Toned
Peer-to-Peer Boot Camp: Target Muscles to Get TonedPeer-to-Peer Boot Camp: Target Muscles to Get Toned
Peer-to-Peer Boot Camp: Target Muscles to Get TonedShana Masterson
 
Best practices in nonprofit email engagement
Best practices in nonprofit email engagementBest practices in nonprofit email engagement
Best practices in nonprofit email engagementShana Masterson
 
It's All In The Tools: Maximizing Your TeamRaiser Event
It's All In The Tools: Maximizing Your TeamRaiser EventIt's All In The Tools: Maximizing Your TeamRaiser Event
It's All In The Tools: Maximizing Your TeamRaiser EventShana Masterson
 
Nonprofit Email Engagement
Nonprofit Email EngagementNonprofit Email Engagement
Nonprofit Email EngagementShana Masterson
 
RI 501 Tech Club Social Media Presentation - December 2009
RI 501 Tech Club Social Media Presentation - December 2009RI 501 Tech Club Social Media Presentation - December 2009
RI 501 Tech Club Social Media Presentation - December 2009Shana Masterson
 

More from Shana Masterson (6)

Registration Optimization
Registration OptimizationRegistration Optimization
Registration Optimization
 
Peer-to-Peer Boot Camp: Target Muscles to Get Toned
Peer-to-Peer Boot Camp: Target Muscles to Get TonedPeer-to-Peer Boot Camp: Target Muscles to Get Toned
Peer-to-Peer Boot Camp: Target Muscles to Get Toned
 
Best practices in nonprofit email engagement
Best practices in nonprofit email engagementBest practices in nonprofit email engagement
Best practices in nonprofit email engagement
 
It's All In The Tools: Maximizing Your TeamRaiser Event
It's All In The Tools: Maximizing Your TeamRaiser EventIt's All In The Tools: Maximizing Your TeamRaiser Event
It's All In The Tools: Maximizing Your TeamRaiser Event
 
Nonprofit Email Engagement
Nonprofit Email EngagementNonprofit Email Engagement
Nonprofit Email Engagement
 
RI 501 Tech Club Social Media Presentation - December 2009
RI 501 Tech Club Social Media Presentation - December 2009RI 501 Tech Club Social Media Presentation - December 2009
RI 501 Tech Club Social Media Presentation - December 2009
 

Recently uploaded

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results

  • 1. Email Design Workshop – Don’t Let Bad Code Ruin Your Day or Your Results #11NTCemail Sean Powell Shana Masterson
  • 2.
  • 3. WARNING Coding for email is different than coding for the web ! There are no standards for displaying email HTML
  • 4. Goodbye... ✗  web design best practices ✗  divs ✗  flash, js ✗  external CSS Hello… ✔ coding for all email clients ✔ tables ✔ inline CSS ✔ code like it’s 1999!
  • 7. What’s the big deal? Ensure consistent branding across all clients and messages
  • 8. Email client rendering engines http://www.emailonacid.com/blog/details/C6/strategies-for-email-testing
  • 10. Better practices ✔  When possible, allow plenty of time for review and coding ✔  Don’t trust the WYSIWYG or HTML editors ✔  Use a good text editor •  Smultron - http://www.peterborgapps.com/smultron/ (Mac) •  Komodo Edit - http://www.activestate.com/komodo-edit/ •  Code Lobster - http://www.codelobster.com/ ✔  Use a tool like premailer to make your styles inline – http://premailer.dialect.ca/ ✔  Include a “View on web” option and/or use alt text in your header “Please turn on images”
  • 11. Testing Option 1 ✔ Set up many test email accounts and test in various browsers. *Hint – Choose a user name and password that will work consistently across clients. ✔ Install several desktop email programs for testing. ✔ Test on Mac and PC. Option 2 ✔ Use a paid service *Litmus – litmus.com *Email on Acid – emailonacid.com
  • 13. HTML cheat sheet excerpt
  • 14. The Email Standards Project The Email Standards Project is about working with email client developers and the design community to improve web standards support and accessibility in email. The project was formed out of frustration with the inconsistent rendering of HTML emails in major email clients. Our mission is to drive the use and support of web standards in email, working with email client developers to ensure that emails render consistently. This is a community effort to improve the email experience for designers and readers, and we’d love your help. www.email-standards.org/
  • 15. rolling up our sleeves
  • 16. A few notes about… ✔ What’s meant by “inline” •  Moving styles from an external style sheet/HEAD to within the containing tag. •  Looks like: style=“width: 100px; height:100px;…”
  • 19. …some more basics •  Setting heights and widths of images, tables, etc. •  Limited use of margin/padding •  Limited support for divs •  Best to use tables to format your message - nesting helps too •  No shortcuts (use border-left-style instead of border: 1px solid #000) •  Define your alt and/or title attributes (set title for Outlook 07) •  Absolute paths for images ✗   •  Use the character entity equivalent for special characters like em-dashes, right/left double quotes, and ampersands
  • 20. Character Entities List of character entities that you can code into your message to get that em-dash(—), ampersand(&), or right double quote(”) to render correctly. For example: Em-dash = &mdash; Ampersand =&amp; A more complete list: http://www.intuitive.com/coolweb/entities.html
  • 21. Just say no to ✔  background images (although there is a hack now…) ✔  using png’s ✔  using floats for alignment ✔  using divs (somewhat) ✔  CSS3 ✔  negative margins ✔  overflow, opacity, position, etc ✗   ✔  embedded video (there are some interesting things on the horizon) ✔  fun.
  • 22. lets take a look at some code
  • 23. What HTML DOCTYPE should I use? The xHTML 1.0 Transitional doctype is widely used when sending HTML email to help uniformity. Take this with a grain of salt, however, as many email clients will either change it to their preference or remove it altogether. <Markup> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN” "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> http://www.campaignmonitor.com/blog/post/3317/correct-doctype-to-use- in-html-email/ http://www.emailonacid.com/blog/details/C18/doctype_- _the_black_sheep_of_html_email_design
  • 24. Using tables Tables are the most common way to format your email consistently. Use a wrapper table to center and set a background for your emails. Set your table widths inside cells and in most cases reset cellpadding, cellspacing, and border to zero. Note: Use nested tables as a way to space effectively in your message.
  • 26. <Markup> <table cellpadding="0” cellspacing="0" border="0"> <tbody> <tr> <td width="300"></td> <td width="300"></td> <td width="300"></td> </tr> </tbody> </table> <!-- end example table-->
  • 27. P tags Fixes an issue with the (new) Yahoo Email client where standard paragraph spacing is not applied (most likely due to a reset of some sort). Note: Many insert a double break (<br />) to create the same “paragraph” type effect. <Markup> <style type="text/css"> . . p {margin: 1em 0 1em 0;} . . </style>
  • 29. Hotmail header fix Hotmail replaces your header color styles with a green color on H2, H3, H4, H5, and H6 tags. In the following example, the color is reset to black. Replace black with your choice of color. The !important declaration is really what is overriding Hotmail's styling. NOTE: Hotmail also sets the H1 and H2 tags to the same size.
  • 30. <Markup> <style type="text/css"> . . . h1, h2, h3, h4, h5, h6 { color: black !important; line-height: 100% !important; } h2 a, h2 a:visited, h3 a, h3 a:visited { color: grey !important; /* Preferably not the same color as the normal header color. */ } . . . </style>
  • 32. Yahoo link color fix (1 of 2) This fix overwrites Yahoo mail's specific blue coloring on links. It, however, does not set color across email clients that ignore CSS in the HEAD tag. You will still have to bring this inline for gmail/ others. http://www.campaignmonitor.com/blog/post/3226/two-solutions-to-yahoo- mail-turning-all-your-links-blue/
  • 33. <Markup> a { color: red; text-decoration: underline;} /** Yahoo Classic and other clients that support styling within the HEAD tags **/ .yshortcuts { color: red !important; text-decoration: underline !important;} /* Body text color for the New Yahoo */ .yshortcuts a span { color: red !important; text-decoration: underline !important; } /* Link text color for the New Yahoo */ Note: This example sets the link color red.
  • 34. Yahoo link color fix (2 of 2) Simply override the styling color and decoration inline. Do not use in combination with fix number 1 unless you want to style the "yshortcuts" class separately, which this code allows you to do. (INLINE) <Markup> <a href="http://www.responsys.com/blogs/nsm/2010/07/ feeling-blue-over-yahoo-email.html" style="color:red; text-decoration:underline;"><span style="color:red;">Here is another fix for Yahoo from Responsys/Smith Harmon </span></a>
  • 36. Hotmail/Gmail image issue Hotmail and Gmail inserts unwanted spacing underneath your images. Use this fix to properly space images that line up right on top of each other. <Markup> img {display: block;} //Place in the <head> area OR <img src=“yourimage.jpg” style=“display: block;” alt=“your alt text” width=“x” height=“x” />
  • 37. @Media Using @Media queries can help target mobile devices, like handhelds and tablets. While definitely not widely supported, it is has become supported enough where you can target users of iphones, android based phones, ipads, etc when they are using the built in software apps to access email.
  • 38. <Markup> <style type="text/css"> . . @media only screen and (max-device-width: 480px{ Your iphone/handheld styles here . . @media only screen and (device-width: 768px{ Your ipad styles here } . . </style> Note: Try experimenting with portrait and landscape modes. http://www.campaignmonitor.com/blog/post/3163/optimizing-your-emails- for-mobile-devices-with-media/ http://css-tricks.com/snippets/css/ipad-specific-css/
  • 39. in the year 2000
  • 40.   Embedding video   @Font-face   CSS3 (or 2 or 1)   Dynamic content   Google (gmail) – enhanced content   From other companies like Movable Ink
  • 41. Resources ✔  http://htmlemailboilerplate.com/ ✔  www.campaignmonitor.com ✔  www.mailchimp.com ✔  www.emailonacid.com • ddf   ✔  www.mxtoolbox.com/ ✔  www.senderscore.org ✔  aws.amazon.com/ses/ ✔  www.scribd.com/doc/28520824/Email-Jitsu
  • 43. Session Evaluation Each entry via text or web is a chance to win great NTEN prizes throughout the day! TEXT ONLINE Text #11NTCemail to Use #11NTCemail at 69866. http://nten.org/ntc/eval Session Evaluations Powered By: