20 Email Design Best Practices and Resources for Beginners : Hacking Tricks
Do you like this story?
1: Keep the Design Simple
Emails are not like complex website designs; they should be nicely designed, but somewhat basic. Try basing your designs on a main header image followed by the main content.
The cleaner the design, the easier it will be to code, and the less chance of any abnormalities happening between various browsers and email clients.
2: Use Tables
Email clients live in the past, so all emails must be built using tables for layout. Some CSS styling can be used, but we will discuss this later.
Not Accepted
Header 1
f
Lorem ipsum dolor sit amet.
Sign off and footer
Accepted
Header 1 |
Lorem ipsum dolor sit amet. |
Sign off and footer |
3: Have Web Browsers at the Ready
Make sure you have as many web browsers as possible available to you. Who knows who will view your email, and what he or she will be using to view it!
At the very least, use these:
- Internet Explorer 6
- Internet Explorer 7
- Internet Explorer 8
- Mozilla Firefox 3
- Apple Safari 3
- Google Chrome
4: Sign Up for all the Major Email Clients
Sign up for as many email accounts as you can think of. Below is a list of email clients to get you started:
- Google Mail (http://mail.google.com)
- Hotmail/Live Mail (http://www.hotmail.com)
- Yahoo Mail (http://mail.yahoo.com)
- AOL Mail (http://webmail.aol.com)
Please note that they're are other, more convenient services that can be used instead; however, many of these charge monthly fees. For more information, review Litmusapp.
5: Use Inline Styles
If this were the website world, every developer on the planet would say, "do not use inline styles, create a class for it". Unfortunately, in an email, this is not possible, as the email clients will strip them out, and we don't want that. So if anything needs to be styled, use inline styles.
Elements like font type and size can be used within the
's.6: Give all Images Alt TagsThis is a very important step to take, but is often forgotten by many. Styling the | for which images are in, with font types, size and color, will allow for your email to degrade gracefully when images are off by default.No Alt TagsAlt Tags7: Do not Set Widths or Heights to ImagesAgain, this is a further step to take in order for a lovely gracefully degraded email. If images are off by default, there dimensions will be present, leaving a lot of unnecessary white space throughout. 8: Wrap the Email in a 100% Width TableEmail clients only take the code within the body tags, not the body tags themselves. In order to use a background color, you must create a 100% width table to "fake" the background effect.
9: No Wider than 600pxMany people don't actually open their email; they instead view them in the preview panel. On average the smallest preview panel is around 600px, so always design your emails accordingly, unless you don't want your full email viewable in the preview panel, of course. 10: Link StylingDon't forget to style the tag. This will overwrite the email client's standard link tags. Link 11: Try not to Nest TablesApart from the 100% width wrap table, you should try your best not to nest additional tables. This is easily avoidable; use the stacking system instead. This allows for a much easier, controllable email. Avoid
Use
12: Avoid Background ImagesStick to block colors rather than images for the backgrounds for your text; only use funky gradients, images, etc. when no text is involved. 13: Borders don't WorkWithin emails, we don't have much room for browser or email clients specific fixes, so when we have borders that can either sit outside or inside the | or be included or excluded from the | width, there's not much we can do. The fix? Drop two extra | 's to either side of the main | , and set the background color in each one. This will again "fake" the look of a border and work in all browsers and email clients.Won't Work | Lorem ipsum | Lorem ipsum dolor sit amet. | 's. Even if the | is set to 10px in width. IE will ignore this and set it to 0. The fix is to add a transparent GIF, and set this to 10px wide. This then provides you with something to put within the | , thus fixing IE's issues with having empty | 's.Won't Work | Lorem ipsum dolor sit amet | Lorem ipsum dolor sit amet | Lorem ipsum dolor sit amet | Lorem ipsum dolor sit amet |
0 Responses to “20 Email Design Best Practices and Resources for Beginners : Hacking Tricks”
Post a Comment