01st Sep 2009
CSS Support Guide for HTML Emails
The sole intent of my article is to demonstrate how one can use standards-based markup for HTML emails. Like it or not, HTML emails are here to stay. So, For those of you who are ready to improve the markup of your HTML emails, here is a quick compatability guide to HTML tags & CSS Properties for different web-based & PC based email environments.
HTML Tags
PC based email environments
Web-based email environments
Outlook 2003/OE
Gmail
Yahoo Mail
Windows Live Mail
Hotmail
<style> element in the <head>




<style> element in the <body>





<link> element in the <head>





<link> element in the <body>





CSS Properties
background-color





background-image





background-position





background-repeat





border





border-collapse





border-spacing





bottom





color





cursor





display





float





font-family





font-size





font-style





font-weight





height





left





letter-spacing





line-height





list-style-image





list-style-position





list-style-type





margin





opacity





overflow





padding





position





right





text-align





text-decoration





text-indent





text-transform





top





vertical-align





visibility





width





word-spacing





z-index





Concluding Words..
HTML emails that contain semantic markup and CSS gel very well with the most commonly used email clients. And for clients that offer poor or no support, the semantic markup allows for graceful degradation.
And, for all those who really do not want to handle the long list mentioned above, you always have these words to mention above your email “Having trouble reading this email? Click here to View it in your browser.” 
The sole intent of my article is to demonstrate how one can use standards-based markup for HTML emails. Like it or not, HTML emails are here to stay. So, For those of you who are ready to improve the markup of your HTML emails, here is a quick compatability guide to HTML tags & CSS Properties for different web-based & PC based email environments.
| HTML Tags | PC based email environments | Web-based email environments | |||
| Outlook 2003/OE | Gmail | Yahoo Mail | Windows Live Mail | Hotmail | |
| <style> element in the <head> | |||||
| <style> element in the <body> | |||||
| <link> element in the <head> | |||||
| <link> element in the <body> | |||||
| CSS Properties | |||||
| background-color | |||||
| background-image | |||||
| background-position | |||||
| background-repeat | |||||
| border | |||||
| border-collapse | |||||
| border-spacing | |||||
| bottom | |||||
| color | |||||
| cursor | |||||
| display | |||||
| float | |||||
| font-family | |||||
| font-size | |||||
| font-style | |||||
| font-weight | |||||
| height | |||||
| left | |||||
| letter-spacing | |||||
| line-height | |||||
| list-style-image | |||||
| list-style-position | |||||
| list-style-type | |||||
| margin | |||||
| opacity | |||||
| overflow | |||||
| padding | |||||
| position | |||||
| right | |||||
| text-align | |||||
| text-decoration | |||||
| text-indent | |||||
| text-transform | |||||
| top | |||||
| vertical-align | |||||
| visibility | |||||
| width | |||||
| word-spacing | |||||
| z-index | |||||
Concluding Words..
HTML emails that contain semantic markup and CSS gel very well with the most commonly used email clients. And for clients that offer poor or no support, the semantic markup allows for graceful degradation.
And, for all those who really do not want to handle the long list mentioned above, you always have these words to mention above your email “Having trouble reading this email? Click here to View it in your browser.” ![]()
Posted by Supriya Agnihotri Jagani under
design
4 Comments »

























