<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>MailChimp Email Marketing Blog &#187; css html email</title> <atom:link href="http://blog.mailchimp.com/tag/css-html-email/feed/" rel="self" type="application/rss+xml" /><link>http://blog.mailchimp.com</link> <description>MailChimp, email marketing, and monkeys!</description> <lastBuildDate>Wed, 08 Feb 2012 23:04:08 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Embedded CSS Fixer for HTML Email</title><link>http://blog.mailchimp.com/css-fixer-for-html-email/</link> <comments>http://blog.mailchimp.com/css-fixer-for-html-email/#comments</comments> <pubDate>Sat, 21 Jun 2008 15:45:25 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Email Design]]></category> <category><![CDATA[MailChimp News]]></category> <category><![CDATA[MailChimp Upgrade]]></category> <category><![CDATA[Using MailChimp]]></category> <category><![CDATA[css email support]]></category> <category><![CDATA[css gmail]]></category> <category><![CDATA[css html email]]></category> <category><![CDATA[css yahoo]]></category> <category><![CDATA[html email css]]></category> <category><![CDATA[inline css html email]]></category> <category><![CDATA[mailchimp v3.1]]></category><guid isPermaLink="false">http://blog.mailchimp.com/css-fixer-for-html-email/</guid> <description><![CDATA[For those of you who code your own HTML email, you probably know that CSS isn&#8217;t fully supported in all the different email programs. Embedded CSS often breaks in webmail apps like Gmail and YahooMail. In order to make it work properly, you have to turn it all into inline CSS. Besides making you feel [...]]]></description> <content:encoded><![CDATA[<p>For those of you who code your own HTML email, you probably know that CSS isn&#8217;t fully supported in all the different email programs.</p><p>Embedded CSS often breaks in webmail apps like Gmail and YahooMail. In order to make it work properly, you have to turn it all into inline CSS. Besides making you feel dirty all over, inlining your CSS in HTML email is just plain tedious.</p><p>So we made it automatic in MailChimp.</p><p>Details and a demo video after the jump&#8230;</p><p><span id="more-840"></span></p><p><center><br /> <embed src="http://blip.tv/play/gaZ1zMBGAA" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="240" width="320"></embed></center>And it does some other cool stuff&#8230;You can go nuts with some pretty sophisticated CSS coding  (including attribute, pseudo-classes, descendants, and more), and we&#8217;ll sort it all out automagically and turn it into code that all the major email programs will display properly.More specifically, here are the different selectors supported:</p><ul><li>tagname</li><li>class</li><li>has attribute</li><li>attribute value equals</li><li>attribute value is one of</li><li>attribute value contains</li><li>attribute hyphen value</li><li>attribute value begins with</li><li>attribute value ends with</li><li>pseudo-classes first-child</li><li>last-child</li><li>only-child</li><li>empty</li><li>not</li><li>nth-child</li><li>child</li><li>descendant</li><li>sibling</li></ul><p>Just a little love for our advanced code monkeys.</p> ]]></content:encoded> <wfw:commentRss>http://blog.mailchimp.com/css-fixer-for-html-email/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>Gmail Padding Fix for HTML Email Templates</title><link>http://blog.mailchimp.com/gmail-padding-fix-for-html-email-templates/</link> <comments>http://blog.mailchimp.com/gmail-padding-fix-for-html-email-templates/#comments</comments> <pubDate>Mon, 18 Feb 2008 16:48:45 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Email Design]]></category> <category><![CDATA[MailChimp News]]></category> <category><![CDATA[MailChimp Upgrade]]></category> <category><![CDATA[cellpadding]]></category> <category><![CDATA[css html email]]></category> <category><![CDATA[gmail]]></category> <category><![CDATA[html email]]></category><guid isPermaLink="false">http://blog.mailchimp.com/gmail-padding-fix-for-html-email-templates/</guid> <description><![CDATA[I thought for sure Gmail would fix the cellpadding problem that popped up last November, but I guess they did all that on purpose. Oh well. So we just upgraded our HTML Email template designer to work for Gmail. It uses inline-CSS to add the padding for proper Gmail rendering. In other email programs, where [...]]]></description> <content:encoded><![CDATA[<p>I thought for sure Gmail would fix the <a href="http://blog.mailchimp.com/gmail-breaking-cellpadding/" title="Gmail cellpadding problem">cellpadding problem</a> that popped up last November, but I guess they did all that on purpose. Oh well.</p><p>So we just upgraded our HTML Email template designer to work for Gmail. It uses inline-CSS to add the padding for proper Gmail rendering. In other email programs, where CSS doesn&#8217;t work, our templates fail gracefully to use the old-fashioned cellpadding. Here&#8217;s a before-and-after screenshot (click to zoom in):</p><p><a href="http://blog.mailchimp.com/wp-content/uploads/2008/02/gmail-cellpadding-broken.gif" title="Gmail cellpadding broken"><img src="http://blog.mailchimp.com/wp-content/uploads/2008/02/gmail-cellpadding-broken.gif" alt="Gmail cellpadding broken" border="0" height="149" hspace="0" vspace="5" width="395" /></a></p><p>MailChimp users: This only applies to brand new templates, created after February 15th. Normally, we like to make changes like this retroactive, but this was one of those changes to our code base that just wouldn&#8217;t allow for that.  So if you want your templates to work perfectly in Gmail, you&#8217;ll need to create all new ones in MailChimp. Otherwise, your templates will work fine in all the other major email programs. If you&#8217;re looking for an excuse not to go through the work of creating new templates, you can always say, &#8220;That&#8217;s Gmail&#8217;s problem, <a href="http://www.esquire.com/the-side/opinion/gmail-061307" title="Why is Gmail still in beta?" target="_blank">because they&#8217;re still in friggin&#8217; beta</a>.&#8221;</p><p>For me, this was just a good excuse to sit down and tweak all my old templates, and to go ahead and make a few more (see: <a href="http://blog.mailchimp.com/7-basic-email-templates-every-business-needs/" title="7 basic html email templates every business needs">7 basic email templates every business needs</a>).</p> ]]></content:encoded> <wfw:commentRss>http://blog.mailchimp.com/gmail-padding-fix-for-html-email-templates/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 306/338 objects using disk: basic

Served from: blog.mailchimp.com @ 2012-02-09 02:40:05 -->
