Blog


Repurpose your Images for Mobile Email

10.19.2011

Read More Design Emails for Mobile Devices

Get connected with Email on Acid for up-to-date news and information on the subject of email design, development, and testing!

Email Testing RSS Feed Email Test on Twitter Email Preview on Digg Email CSS on Linked In Email Simulator on Stumbled Upon

Email Testing RSS Feed Email Test on Twitter Email Preview on Digg Email CSS on Linked In Email Simulator on Stumbled Upon

Default CSS in Web & Desktop Email Clients

It's important to beware!

It comes as no surprise that web clients use their own style sheets to render their pages. In the new version of Yahoo Mail and AIM Mail, emails are rendered inside an I-frame allowing for a fairly clean slate. However, in clients like G-Mail, Hotmail and Yahoo-Classic, they seem to make an attempt to reset browser defaults but several of their self-imposing styles are still carried over.

This issue may actually challenge the notion that you are always safe using the basics when it comes to tables and divs. In fact if you didn't know that you needed to overwrite certain styles using embedded or inline CSS, your end result may look much different than expected.

For example, Hotmail applies a margin value to its p, h1-h6, ul, and li elements and ironically they don't support the "margin" property in the rendered email itself. Fortunately they do support "margin-left," "margin-right," and "margin-bottom." In this instance, if you are using a background color or inserting images in any of these elements and you don't set a value for the above properties, you may see unwanted spacing in the end result.

Gmail Email Preview, Hotmail Preview, Yahoo Preview

As luck would have it, web clients are not the only ones using default CSS. Most desktop clients use them as well. We hope you can read through our sarcasm here.

Simulating the so called "default" CSS for each email client wasn't a huge problem for us. It was mostly just a matter of being rather tedious and time consuming and as we continue to run test after test, we are sure to refine them as we go.

When we started this Email Test project, we where obviously aware of the current challenges of testing an email in each of the popular clients, but when doing this type of research we find that it may be even more important than we had originally thought. We even ran several high profile corporate emails through our test and saw that default CSS played a big roll in the final output.

That said, we will conclude by repeating the phrase "It's important to beware!"

Comments

Thanks for this well crafted piece of writing about such an important issue facing us.
By Web design company on 11/07/2009

You always come up with great stuff I love your blogs!

Cheer!
Web Design India
By Web Design India on 11/17/2009

You are putting very good effort into the stuff you post. Keep up the good work
By ecommerce website design on 12/10/2009

This is really informative article.We get many emails from customers who would like to use CSS in their email newsletters, particular when creating their stationery and templates for MailList King. CSS (Cascading Style Sheets) are widely used when creating web pages and allow improved styling and layout of HTML content. Unfortunately, email isn't the web. Your design may look great in one email client, but chances are it will be different in other email clients.square peg web
By rena on 06/08/2010

Nice stuff indeed! You have provided very good information in details regarding this topic. It is really very useful.
By SEO on 08/11/2010

hopefully someday soon css will become the standard in email design, but with new desktop and web clients being released css support still seems to be lacking. I can almost understand the reasons why web based clients have the need to drop support, but for desktop clients surely full support can be introduced
By Lewis on 05/09/2011

In clients like G-Mail, Hotmail and Yahoo-Classic, they seem to make an attempt to reset browser defaults but several of their self-imposing styles are still carried over.SEO Web design
By Selva on 05/25/2011

I love this blog because it's always giving us new innovative think.
By Magento Development on 12/20/2011

Very important tutorial! Yiya, mate Default CSS in web and desktop email clients is highly impressive stuffs. Thanks for review. Keep it up!
By Chelsea Wilks on 02/29/2012

E-mail css formatting can be one of the most frustrating things to do. It's so strict - especially with pictures. Text ain't so bad.
By Jeff B on 03/08/2012

Very Polite stuff definitely! I find here few points which are truly effective tutorial point. By catching this issue you published very useful information. Thanks!
By Local seo marketing on 03/18/2012

Share Your Comment

Name:
Email:
Location:
URL:

Comment:

Remember my personal information
Notify me of follow-up comments?

Please enter the word you see in the image below:



Share/Save/Bookmark

If you haven't signed up yet, give our FREE online Email Test a try. Just drop in your code and we will instantly simulate your email in the most popular email clients!

Get connected with Email on Acid for up-to-date news and information on the subject of email design, development, and testing!

Email Testing RSS Feed Email Test on Twitter Email Preview on Digg Email CSS on Linked In Email Simulator on Stumbled Upon

Follow us on Twitter Become a Friend on Facebook Subscribe to our Blog Digg Us! Recommend on StumbleUpon