<?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>Pop Art Blog &#187; tables</title>
	<atom:link href="http://blogs.popart.com/tags/tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.popart.com</link>
	<description>Flashes of Pop, Wit and Reason</description>
	<lastBuildDate>Mon, 26 Jul 2010 21:16:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Who’s Afraid of HTML&#160;Email?</title>
		<link>http://blogs.popart.com/2008/12/who-s-afraid-of-html-email/</link>
		<comments>http://blogs.popart.com/2008/12/who-s-afraid-of-html-email/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 23:57:00 +0000</pubDate>
		<dc:creator>Scott Vandehey</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">/scott-vandehey/archive/2008/12/17/who-s-afraid-of-html-email.aspx</guid>
		<description><![CDATA[Anyone who tells you creating HTML email is easy has either never done it, or is lying. Inexperienced designers tend to think, &#8220;Oh, no problem, it&#8217;s all tables and font tags!&#8221; Grizzled veterans, however, know all too well the difficulties of getting anything but the most simple design to render well in a variety of [...]]]></description>
			<content:encoded><![CDATA[<p class="leadtxt">Anyone who tells you creating HTML email is easy has either never done it, or is lying. Inexperienced designers tend to think, &#8220;Oh, no problem, it&#8217;s all tables and font tags!&#8221; Grizzled veterans, however, know all too well the difficulties of getting anything but the most simple design to render well in a variety of clients.</p>
<p>Email design today is like web design in the early 90&#8217;s, complete with nested tables, spacer gifs, and <code>FONT</code> tags galore. Standards support is virtually non-existent, and even simple things like background images and table spacing are handled poorly by some clients.</p>
<p><span id="more-2459"></span>By being aware of the unique challenges that HTML email presents, and following the recommendations in this article, you&#8217;ll make life much easier for your production team.</p>
<h3>What Email Clients Do&nbsp;People&nbsp;Use?</h3>
<p>Until recently, the single biggest problem when designing HTML emails was a lack of reliable information about the target audience. Unlike web design, where server logs and web statistics programs make it pretty easy to find out what browsers your audience is using, there are no equivalent tracking programs for email.</p>
<p>The only sources of information I could find online were <a href="http://www.clickz.com/1428551">two</a> <a href="http://www.wilsonweb.com/wmt8/email_format_preferences.htm">surveys</a>, published in 2002 and 2003, that were given to limited audiences. With the small size of the sample groups, the way the survey was structured, and the age of the surveys (which predate both Gmail and the iPhone!), the results are nearly useless.</p>
<p>Thankfully, while conducting research for this article, a company that makes <a href="http://fingerprintapp.com/email-client-stats">email client usage statistics software</a> decided to start publishing some of their data. The results for business users are surprising:</p>
<p><a href="http://fingerprintapp.com/email-client-stats"><img src="http://farm4.static.flickr.com/3089/3100559043_f2ec61591a.jpg" class="photo" alt="2008 Email Client Stats" /></a></p>
<p>Some noteworthy takeaways:</p>
<ul>
<li>Outlook is the most popular, but not by much.</li>
<li>Most people have yet to upgrade to Outlook 2007.</li>
<li>Webmail programs add up to more than half of total usage.</li>
<li>Gmail is dramatically outnumbered by Yahoo.</li>
<li>Yahoo is even more dramatically outnumbered by Hotmail.</li>
<li>Lotus Notes and AOL are (thankfully) negligible.</li>
<li>The iPhone has a respectable 1.3% of total usage!</li>
</ul>
<p>This means we can expect any email we create to be viewed in Outlook, Yahoo, Hotmail, and Gmail. Testing in all of these is ideal, however, if time is tight, you can probably get away with just testing Outlook 2007 and Gmail. As we&#8217;ll discuss next, these are the two most restrictive clients, and if your email works well for them, it should work well in all the others.</p>
<h3>What are the Problems with&nbsp;HTML&nbsp;Email?</h3>
<p>Now that we know what clients our audience is using, we can start looking at some of the challenges that arise when building HTML emails. A complete list of every type of problem is beyond the scope of this article, but if you&#8217;re interested, <a href="http://www.campaignmonitor.com/resources/">Campaign Monitor&#8217;s tips section</a> is a great resource.</p>
<h4>CSS Support&nbsp;is&nbsp;Unreliable</h4>
<p>While most email clients <a href="http://www.campaignmonitor.com/css/">support CSS to some degree</a>, the problem here arises from the fact that each does so in a different, and contradictory manner. The two worst offenders are <a href="http://www.email-standards.org/clients/microsoft-outlook-2007/">Outlook 2007</a> and <a href="http://www.email-standards.org/clients/gmail/">Gmail</a>.</p>
<p>Gmail only supports inline CSS, therefore, any <code>STYLE</code> blocks or linked stylesheets in the <code>HEAD</code> of your document will be stripped entirely. Of course, even if they weren&#8217;t, it wouldn&#8217;t do you much good, since Gmail also strips all <code>ID</code> and <code>CLASS</code> attributes.</p>
<p><a href="http://www.flickr.com/photos/spaceninja/3100224711/"><img src="http://farm4.static.flickr.com/3128/3100224711_4821897552.jpg" class="photo" alt="Outlook 2000 vs Outlook 2007" /></a></p>
<p>Outlook 2007 will allow linked stylesheets and <code>STYLE</code> blocks, but the emails are rendered using the <a href="http://www.campaignmonitor.com/blog/post/2396/the-truth-behind-the-outlook-2007-change-and-what-you-can-do-about-it/">Microsoft Word rendering engine</a>. This means no background images, no floats, no positioning, and no margins or padding. It&#8217;s so bad that when Microsoft announced the change, Campaign Monitor&#8217;s headline was &#8220;<a href="http://www.campaignmonitor.com/blog/post/2393/microsoft-takes-email-design-b/">Microsoft takes email design back 5 years</a>.&#8221;</p>
<p>Due to the popularity of Outlook among business users, <a href="http://www.campaignmonitor.com/blog/post/2533/a-guide-to-css-support-in-emai-2/">Campaign Monitor recommends</a> that all business emails be built with tables and minimal inline CSS only.</p>
<h4>Most Clients Disable Images&nbsp;by&nbsp;Default</h4>
<p class="floatright"><a href="http://www.flickr.com/photos/spaceninja/3100224675/"><img src="http://farm4.static.flickr.com/3152/3100224675_a9a9c3744c_m.jpg" class="photo" alt="Image Blocking by Email Client" /></a></p>
<p>There is some variation between clients, but most have images blocked by default, unless the user is in the address book. Older versions of Gmail actually blocked images at all times, though this seems to have been fixed recently.</p>
<p>As a result, <a href="http://www.campaignmonitor.com/resources/entry/677/image-blocking-in-email-clients/">Campaign Monitor recommends</a> that you &#8220;become a known sender&#8221; by adding a note to your sign-up form, and any subsequent emails you send, asking users to add you to their address book. Needless to say, this requires that you send your emails from the same address each time.</p>
<p>Additionally, they recommend that you plan for images being disabled. Since <code>ALT</code> text is unreliable (more on that in a moment), you should begin your email with HTML or plain-text headlines. This means users can tell what your email is about, even without seeing your images. Also, consider putting plain-text captions under important images.</p>
<h4>ALT Text&nbsp;is&nbsp;Unreliable</h4>
<p class="floatright"><a href="http://www.flickr.com/photos/spaceninja/3100224563/"><img src="http://farm4.static.flickr.com/3150/3100224563_e8d2592eb1_m.jpg" class="photo" alt="Blocked Images in Outlook" /></a></p>
<p>The fact that images are disabled by default wouldn&#8217;t be so bad except that most clients also have <a href="http://www.campaignmonitor.com/resources/entry/676/how-do-alt-attributes-appear-in-email/">difficulty displaying <code>ALT</code> attributes</a>. As usual, Gmail and Outlook are the worst offenders.</p>
<p>Gmail does show <code>ALT</code> text, but only if the image dimensions are large enough to display the entire string of text. As a result, small images, or images with lengthy <code>ALT</code> attributes, show nothing at all.</p>
<p>Outlook (both 2007 and previous versions) do show the <code>ALT</code> text, but they preface it with a lengthy error message, which effectively hides the text from view in most cases. In this case, the one positive note is that since every image in every email will display this security message, most users will be used to it, and to clicking the button that enables images in the email.</p>
<h4>Gmail&nbsp;Ignores&nbsp;Cellspacing</h4>
<p class="floatright"><a href="http://www.flickr.com/photos/spaceninja/3101061302/"><img src="http://farm4.static.flickr.com/3286/3101061302_9463ca8690_m.jpg" class="photo" alt="Missing Cellspacing in Gmail" /></a></p>
<p>This is a very recent change and, for my money, one of the most annoying problems facing email designers. <a href="http://www.campaignmonitor.com/blog/post/2421/the-varying-landscape-of-gmail-1/">Gmail strips all <code>PADDING</code> and <code>CELLSPACING</code> from tables</a>. Regardless of whether you use CSS, or the old-school attributes for the table itself, Gmail zeroes it all out.</p>
<p>As a result, you have to retool all your tables to not use any <code>PADDING</code> or <code>CELLSPACING</code>. Instead, bust out your spacer gifs and add empty table cells everywhere you need white space. This won&#8217;t impact the way your emails are designed, but it means a dramatic increase in code bloat.</p>
<h3>Tips for Designing&nbsp;HTML&nbsp;Emails</h3>
<p>In addition to learning about the most common difficulties with HTML emails, there are several things you can do to make your experience easier. If you&#8217;re still familiar with table-based layouts, these are common sense, but if you&#8217;ve been doing standards for a while now, it can be difficult to get back into the mindset of the limitations you need to work within.</p>
<h4>Remember HTML&nbsp;Font&nbsp;Sizes</h4>
<p class="floatright"><a href="http://www.flickr.com/photos/spaceninja/3101061360/"><img src="http://farm4.static.flickr.com/3102/3101061360_0d9e5b4181_m.jpg" class="photo" alt="HTML Font Sizes" /></a></p>
<p>It&#8217;s easy to forget that without CSS, there are only 7 font sizes, and the differences between them are pretty severe. Size 1 text is tiny, and usually only suited for the fine print in the footer. Size 3 is huge, so your body text will probably be size 2. That means you only really have one or two usable font sizes for your body text. Keep this in mind while creating the design to avoid having layout shifts due to font size differences.</p>
<h4>Avoid&nbsp;Overlaps</h4>
<p>Since Outlook 2007 won&#8217;t display background images, you cannot display HTML text over an image &#8212; even a simple one like a gradient. You&#8217;ll either need to adjust your design to keep a solid color behind all HTML text, or set it up so that if the background disappears, the design still looks appropriate.</p>
<h4>Avoid&nbsp;Image&nbsp;Headlines</h4>
<p>As mentioned above, most email clients have images disabled by default and have difficulty displaying <code>ALT</code> text. As a result, if your most important headlines are images, your readers won&#8217;t see them at first! If you know your audience is invested enough to click through, that risk might be acceptable, but most of the time you should make sure that your primary call to action is not stuck in an image. This will limit your font choices, but will dramatically improve the odds that your audience will see your headline.</p>
<h4>Web Version and&nbsp;Address&nbsp;Book</h4>
<p>Even if you follow every suggestion in this article, your email may not work for some people, so provide them with alternatives. Most email campaign products make it easy to insert a &#8220;view as web page&#8221; link and to include a plain-text version of your email.</p>
<p>A good way to do this is to include a bit of text requesting that your readers add you to his or her address book. One easy technique to get all this out of the way, is to include a block of plain HTML text at the very top of your email that explains why the reader received this email, provides an unsubscribe link, a link to a web-based version of the email, and suggests that they add your email to their address book.</p>
<h3>In&nbsp;Conclusion</h3>
<p>The bad news is that CSS and web standards support in email clients is so inconsistent as to be non-existent. Not only that, but it&#8217;s gotten worse in the last two years thanks to Outlook 2007 and Gmail.</p>
<p>When I first started designing HTML emails for our clients, I would quote 1-2 hours for each email. Today, I quote 4-5 hours because it&#8217;s gotten so much more complicated.</p>
<p>The good news is that things are going to improve &#8212; slowly. <a href="http://www.email-standards.org/">The Email Standards Project</a> aims to do for email what <a href="http://www.webstandards.org/">the Web Standards Project</a> did for web browsers in the late 90&#8217;s. However, it took the Web Standards Project years to make a significant impact, and due to the slow rate of upgrades in email clients, it&#8217;ll probably take even longer. Still, this kind of pressure will undoubtedly help the situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.popart.com/2008/12/who-s-afraid-of-html-email/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Selling Web Standards is&#160;Hard</title>
		<link>http://blogs.popart.com/2007/08/selling-web-standards-is-hard/</link>
		<comments>http://blogs.popart.com/2007/08/selling-web-standards-is-hard/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 00:08:00 +0000</pubDate>
		<dc:creator>Scott Vandehey</dc:creator>
				<category><![CDATA[accessibility]]></category>
		<category><![CDATA[clientservices]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[sales]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[tables]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">/scott-vandehey/archive/2007/07/31/selling-web-standards-is-hard.aspx</guid>
		<description><![CDATA[I recently had a fascinating conversation with our VP of Client Services. Long story short, I learned that selling web standards is difficult, because many of the benefits it offers are &#8220;soft.&#8221; For instance, if we tell a client that the extra money we charged them to upgrade their site to web standards will make [...]]]></description>
			<content:encoded><![CDATA[<p class="leadtxt">I recently had a fascinating conversation with our VP of Client Services. Long story short, I learned that selling web standards is difficult, because many of the benefits it offers are &#8220;soft.&#8221; For instance, if we tell a client that the extra money we charged them to upgrade their site to web standards will make future updates easier, the Client Services team is afraid the client will come back and say that we should charge them less for updates.</p>
<p>For a standards zealot like myself, this was hard to hear. Like most deciples of Zeldman, when someone asks me why we should use web standards for a site, I go back to the <a href="http://www.alistapart.com/articles/csstalking/">CSS talking points</a> in this article from A List Apart. First, web standards mean dramatically improved accessibility, even degrading gracefully in older browsers that don&#8217;t support CSS. Secondly, standards-compliant sites tend to be cheaper to produce and maintain when compared to older table-based layouts, and finally, standards mean that a site is &#8220;future-proof&#8221; because they will be much easier to maintain and update as time passes and coding standards continue to change.</p>
<p><span id="more-2256"></span>What I learned in this conversation is that only one of those is really something that our Client Services team can sell. Client care about accessibility &#8211; not because disabled access is a big issue, but because accessible sites are also more search-engine friendly. We can proudly point to several examples in our portfolio where we refreshed a client&#8217;s site with standards and their search engine rankings showed a marked improvement.</p>
<p>On the flip side, clients rarely care about future-proofing their websites. This is perhaps due to the enterprise-level clients that we tend to work with, but our clients rarely want to spend more money today to make things easier in the future. Typically, our clients have to struggle for every bit of their marketing budgets, and web is usually only a small fraction of what they get. So when they hear us say that doing something now will save them money someday, their instinct is to decline.</p>
<p>Most frustrating, however, was when our Client Services VP told me that web standards sites are <em>not</em> cheaper. After going around the table a few times, we managed to agree that we were using different definitions of cheaper. When I say a site is cheaper, I mean that initial production of the site will take somewhat less time than a comparable table-based layout, and that future updates to the layout or design of the site will take much less time than they would have otherwise.</p>
<p>However, her experience with our standards-based designs has been that they take about the same amount of time for both initial production and any future updates. They may not cost more, but they don&#8217;t cost less. The problem here is that the sites she was referring to had major content updates, not just design updates. If a design update keeps the same content and markup, but only changes the look and feel, then I can do the entire update via CSS, and save a great deal of time because I&#8217;ll be updating many pages at once, rather than updating dozens of table-based pages. But if the client wants us to add new features or anything else that requires changing the markup as well as the CSS, then she&#8217;s right that the updates take about the same amount of time as they would have in a non-standards site.</p>
<p>That kind of thing causes a nightmare for the Client Services team. If we tell a client that updates to their site in the future will be cheaper (without qualifying that we&#8217;re talking about certain kinds of updates), and then we come back with a price quote that&#8217;s not cheaper, the client gets upset, and it puts the Client Services team in a bad position.</p>
<p>Certainly, this kind of thing can be avoided by properly educating the client, but that&#8217;s a whole different can of worms. The important take-away for me was to immediately stop claiming that standards-based sites are cheaper without adding the qualifier that they are only cheaper under specific circumstances.</p>
<p>The way to sell standards to Client Services is to tell them that it will dramatically improve accessibility and search engine rankings, and <em>won&#8217;t cost more</em> than a comparable table-based design.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.popart.com/2007/08/selling-web-standards-is-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
