Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm generating content rich emails and want to ensure it will look identical on all clients. In order to test Gecko, Webkit, Trident and MS Word I've viewed my email in Firefox, Safari, IE and Outlook 2007 respectively. But with Gmail and hotmail etc, do those render emails just using the browser they're being viewed in?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Gmail and hotmail, themselves don't render HTML. The HTML portions of the email are rendered by the browser that they are being viewed in.

However, if Gmail, for example, presents a stylesheet, or embeded styles for the Gmail interface, it is possible for those styles to influence how the browser renders your HTML; however, they probably use class and id attributes that you are not using in your html, so it shouldn't be an issue.

share|improve this answer
    
Thanks for that. I figured that was the case, just wanted to make sure. –  edwardmlyte Mar 7 '11 at 16:32
add comment

According this report from the Email Standards Project, Gmail strips out all class and id attributes from emails.

...But even if Gmail supported embedded styles in the head of a document, it strips all IDs and classes from the source....

I sent their "Acid Test" to my Gmail account and it seems to be behaving as described.


They also have a report for Hotmail, but I can't vouch for how up-to-date that one is.

Sorry, superuser won't let me post more than two hyperlinks because I'm a new user.

share|improve this answer
    
I've gave you an upvote so you can add the link now by editing your post. If somehow you are under 10 reputation again, feel free to leave the link in the comments. –  Tom Wijsman Mar 1 '12 at 3:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.