<?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; html email css</title> <atom:link href="http://blog.mailchimp.com/tag/html-email-css/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>Guide to Creating Custom MailChimp Email Templates</title><link>http://blog.mailchimp.com/guide-to-creating-custom-mailchimp-email-templates/</link> <comments>http://blog.mailchimp.com/guide-to-creating-custom-mailchimp-email-templates/#comments</comments> <pubDate>Tue, 13 Oct 2009 16:26:25 +0000</pubDate> <dc:creator>Aarron</dc:creator> <category><![CDATA[Email Design]]></category> <category><![CDATA[Tips, Tricks, Best Practices]]></category> <category><![CDATA[Using MailChimp]]></category> <category><![CDATA[email templates]]></category> <category><![CDATA[holiday email templates]]></category> <category><![CDATA[html email css]]></category> <category><![CDATA[html email design]]></category> <category><![CDATA[merge tags]]></category><guid isPermaLink="false">http://blog.mailchimp.com/?p=4736</guid> <description><![CDATA[In case you missed it, we recently released a new email template language that makes it pretty easy for web designers to code custom templates using some basic HTML and CSS that will tie into the MailChimp design inspector, so your clients can tweak certain design elements with out destroying the layout or design. Follow [...]]]></description> <content:encoded><![CDATA[<p>In case you missed it, we recently released a new <a href="http://blog.mailchimp.com/resources/email-template-language/">email template language</a> that makes it pretty easy for web designers to code custom templates using some basic HTML and CSS that will tie into the MailChimp design inspector, so your clients can tweak certain design elements with out destroying the layout or design.<span id="more-4736"></span></p><p>Follow these best practices and you are sure to create awesome emails that your clients will love:</p><ul><li>Your email layout should be no wider than 600 pixels for best viewing in various email clients</li><li>Avoid using the following CSS in your templates:<ul><li>Floats</li><li>Positioning</li><li>Background images (doesn&#8217;t work in Outlook and Gmail)</li></ul></li><li>Use this wonderful reference created by our friends at Campaign Monitor to see what CSS is supported in major email clients <a href="http://www.campaignmonitor.com/css/" target="_blank">http://www.campaignmonitor.com/css/</a><li>It&#8217;s a good idea to limit the number of editable spaces in the template to keep things simple</li><li>Name all editable spaces consistently. The name you assign via <code>mc:edit="somename"</code> is used to create a field in the database to store the user&#8217;s content. If they switch templates after writing content, they could lose their copy if the editable space names aren&#8217;t consistent. Use the following conventions common content areas:<ul><li><code>mc:edit="header</code> &#8211; used to name the header<li><code>mc:edit="header_image"</code> &#8211; used to name an editable header image<li><code>mc:edit="sidecolumn"</code> &#8211; used to name an editable left or right side column<li><code>mc:edit="main"</code> &#8211; used to name the main content space<li><code>mc:edit="footer"</code> &#8211; used to name the footer</ul></li><li>Editable images should not be placed within an editable content container</li><li>Set the <code>@theme</code> declaration in your CSS for the page background, header, footer and content space so templates can be quickly customized with the MailChimp color themes. See the <a href="http://blog.mailchimp.com/resources/email-template-language/" target="_blank">template language docs</a> for the correct names to be used.</li><li>Be creative with the use of <a href="http://blog.mailchimp.com/merge/" target="_blank">merge tags</a>. Use the social merge tags to provide readers of your email new ways to connect with you and share your content. Use The table of contents merge tag (<code>*|MC:TOC|*</code>) to create an automatic list of links to the <code>&lt;h1&gt;</code> and <code>&lt;h2&gt;</code> headings in an email.</li><li>Be sure to include the required CAN-SPAM info in the footer (<code>*|UNSUB|* *|LIST:DESCRIPTION|* *|LIST:ADDRESS|*</code>)</li><li>Include <code>target="_blank"</code> in links to ensure they open a new browser window or tab when emails are viewed in browser based email clients</li><li>Include a link for users to update their subscription preferences <code>&lt;a href="*|UPDATE_PROFILE|*" target="_blank"&gt;change subscription preferences&lt;/a&gt;</code></li><li>Include a link to let users view the email in a browser: &lt;a href=&#8221;*|ARCHIVE|*&#8221; target=&#8221;_blank&#8221;&gt;view this email in a browser.&lt;/a&gt;</li><li>Include a link to your website: &lt;a href=&#8221;*|LIST:URL|*&#8221; target=&#8221;_blank&#8221;&gt;visit our website&lt;/a&gt;</li><li>Feature the forward to a friend link somewhere prominent &lt;a href=&#8221;*|FORWARD|*&#8221; target=&#8221;_blank&#8221;&gt;forward to a friend&lt;/a&gt;. Make a cool button treatment for it where possible to encourage sharing</li><li>Once you&#8217;ve created a template, put test it in a campaign and try customizing it by changing color, adding content, etc to make sure it will work well for others who might be using it in different situations.</li></ul> ]]></content:encoded> <wfw:commentRss>http://blog.mailchimp.com/guide-to-creating-custom-mailchimp-email-templates/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <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>Showcase: Image-Heavy Email Campaign Trick</title><link>http://blog.mailchimp.com/showcase-image-heavy-email-campaign-trick/</link> <comments>http://blog.mailchimp.com/showcase-image-heavy-email-campaign-trick/#comments</comments> <pubDate>Tue, 22 Jan 2008 17:42:09 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Email Design]]></category> <category><![CDATA[MailChimp Customers]]></category> <category><![CDATA[Tips, Tricks, Best Practices]]></category> <category><![CDATA[]]></category> <category><![CDATA[alt-text]]></category> <category><![CDATA[html email css]]></category> <category><![CDATA[image only email]]></category><guid isPermaLink="false">http://blog.mailchimp.com/showcase-image-heavy-email-campaign-trick/</guid> <description><![CDATA[Do you have an HTML email to send, and you absolutely positively have to make it images only? Yes, I know we&#8217;re always preaching that you should never send image-only or very image-heavy HTML emails, because they tend to trigger spam filters. But in the real world, sometimes you have no choice. Sometimes, you&#8217;ve got [...]]]></description> <content:encoded><![CDATA[<p><img src="http://blog.mailchimp.com/wp-content/uploads/2008/01/thm_thunit.png" alt="Email design from The Unit" align="right" border="0" hspace="5" vspace="5" />Do you have an HTML email to send, and you absolutely positively <strong><em>have </em></strong>to make it images only?</p><p>Yes, I know <a href="http://blog.mailchimp.com/image-based-spam-on-the-rise/">we&#8217;re always preaching</a> that you should never send image-only or very image-heavy HTML emails, because they tend to trigger spam filters. But in the real world, sometimes you have no choice. Sometimes, you&#8217;ve got a client with a big brand image that can only be conveyed in big, bold, beautiful graphics.</p><p>If you&#8217;re ever in that kind of predicament, here&#8217;s a trick we spotted from UK-based creative agency (and MailChimp customer) <a href="http://www.theunit.co.uk/" title="The Unit Creative Agency" target="_blank">The Unit</a>.</p><p><span id="more-623"></span></p><p>Their client was promoting a big grand opening. In the blink of an eye, it had to be exciting, splashy, and suggest fun and adventure for the entire family (kind of hard to do with words).  And it had to get the click.</p><p>But The Unit knew that most people would receive the email with images turned off. How could they pull this off in a way that enticed recipients to click that &#8220;Show images button&#8221; in their email program?</p><ol><li>Slice the graphic into tiny slits, then stack them vertically.</li><li>For each graphic &#8220;slice&#8221; image, add lots of descriptive alt-text (the behind-the-scenes text description that&#8217;s shown when people have images turned off). This way, even if recipients never turn their images on, they&#8217;ll still be able to read the entire message.</li><li>Make every single graphic slice link back to their landing page.</li><li>Don&#8217;t neglect the plain-text alternative version of the email. Put as much content in that version as you would in the HTML version, to hopefully balance out your &#8220;email karma&#8221; with the spam filters.</li></ol><p>Here&#8217;s what the email looked like with images on (click to zoom in):</p><p><a href="http://blog.mailchimp.com/wp-content/uploads/2008/01/the-unit-email-images-on1.jpg" title="the-unit-email-images-on1.jpg"><img src="http://blog.mailchimp.com/wp-content/uploads/2008/01/the-unit-email-images-on1.jpg" alt="the-unit-email-images-on1.jpg" border="0" height="403" hspace="5" vspace="5" width="171" /></a></p><p>And here&#8217;s a diagram of how they sliced it up and added the alt-text to each graphic (click to zoom in):</p><p><a href="http://blog.mailchimp.com/wp-content/uploads/2008/01/thm_the-unit-email-how-sliced.jpg" target="_blank"><img src="http://blog.mailchimp.com/wp-content/uploads/2008/01/thm_the-unit-email-how.gif" alt="thm_the-unit-email-how.gif" /></a></p><p>Pretty cool stuff! This is by no means a totally new trick, but it&#8217;s the first time I can honestly say that:</p><ol><li>This particular campaign warrants the heavy use of images, and</li><li>This particular campaign warrants the alt-text trickery to go with it.</li><li>They kept the footer as text, which shows these guys weren&#8217;t trigger happy with images. They know what they&#8217;re doing, and this was all deliberate and scientific.</li><li>They made it as &#8220;fail-safe&#8221; as humanly possible. Nice.</li></ol><p>Kudos to <a href="http://www.theunit.co.uk/" title="The Unit Creative Agency" target="_blank">The Unit</a> for their work, and because on top of all this techno-trickery, the email looks great.</p><h3>Bonus tricks for image-only HTML Emails</h3><p>1. Only send to people you know can open images: <a href="http://blog.mailchimp.com/a-way-to-safely-send-image-heavy-html-emails/">Here&#8217;s an idea from Mark Brownlow</a> on how to target your list so that you only send to people who can actually read image-only emails (and we show you how to do that in MailChimp).</p><p>2. Check your work before you send to your list, with the <a href="http://blog.mailchimp.com/add-ons/inboxinspector/" title="MailChimp Inbox Inspector">MailChimp Inbox Inspector.</a> See what your emails look like in all the major email programs, with images on, images off, and preview pane in vertical/horizontal modes. Plus, check whether or not your campaign will make it past the spam filters.</p><p>3. <a href="http://blog.mailchimp.com/nice-alt-text-hack-for-html-email/" title="alt-text and css hack for html email">Another alt-text &#8220;hack&#8221; for HTML emails</a>. Use CSS to make format the alt-text for some images with colors and styles.</p> ]]></content:encoded> <wfw:commentRss>http://blog.mailchimp.com/showcase-image-heavy-email-campaign-trick/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 356/405 objects using disk: basic

Served from: blog.mailchimp.com @ 2012-02-09 02:32:24 -->
