<?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>Diego's Rants &#187; 2007</title>
	<atom:link href="http://blog.massanti.com/tag/2007/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.massanti.com</link>
	<description>Confessions from a Geek</description>
	<lastBuildDate>Wed, 27 Oct 2010 11:22:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Welcome (back) to the HTML tables age!&#8230;</title>
		<link>http://blog.massanti.com/2008/01/12/welcome-back-to-the-html-tables-age/</link>
		<comments>http://blog.massanti.com/2008/01/12/welcome-back-to-the-html-tables-age/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 09:06:47 +0000</pubDate>
		<dc:creator>Diego Massanti</dc:creator>
				<category><![CDATA[Computers & Tech]]></category>
		<category><![CDATA[Web & Design]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[breaks]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[newsletter]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[render]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://massanti.com/2008/01/12/welcome-back-to-the-html-tables-age/</guid>
		<description><![CDATA[Office 2007 is a great suite of productivity applications, Microsoft Word has been for years my word processing application of choice, same goes for Microsoft Excel when it comes to spreadsheets, and&#8230; until some days ago, Microsoft Outlook (not Outlook Express) has been my email application of choice. Not anymore. Some days ago i was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.massanti.com/wp-content/uploads/2008/01/outlook_2007_icon.gif" alt="Microsoft Outlook 2007 Icon" width="256" height="256" /><a href="http://office.microsoft.com/">Office 2007</a> is a great suite of productivity applications, <a href="http://office.microsoft.com/en-us/word/">Microsoft Word</a> has been for years my word processing application of choice, same goes for <a href="http://office.microsoft.com/en-us/excel/">Microsoft Excel</a> when it comes to spreadsheets, and&#8230; until some days ago, <a href="http://office.microsoft.com/en-us/outlook/">Microsoft Outlook</a> (not Outlook Express) has been my email application of choice.<br />
<strong>Not anymore.</strong><br />
Some days ago i was hired to design and code a series of newsletters for an Argentinian magazine, and even the fact that email marketing / newsletter design is not my main job, i decided to do it because, after all, it is just (x)HTML and CSS, so it should be pretty simple I though&#8230; well, i was really, but really wrong.<span id="more-98"></span></p>
<h3>Round 1 &#8211; The CSS deal.</h3>
<p>The first thing that you will realize when designing a newsletter with beautifully written HTML and CSS is that 90% of email clients (being them applications or web clients) will just totally strip out your CSS. In some cases like Hotmail or Windows &#8220;Live&#8221; mail, you can just fix that by including your css inside the &lt;body&gt; element, but still, some other clients like gMail will just ignore it, and all your design goes to hell. Period.<br />
So in order to &#8220;fix&#8221; that problem, i had to use &#8220;Inline CSS&#8221; (!!!) and all my beautifully written code became just a bunch of crap, with things like this:</p>
<pre lang="html"> </pre>
<p>But ok, you can&#8217;t expect each and every email client out there to fully support each and every thing, so i was OK with that&#8230; at least until the moment when i decided to test my code in Microsoft&#8217;s flagship email client &#8220;Outlook 2007&#8243;. OH MY&#8230;.</p>
<h3>Round 2 &#8211; The &#8220;I don&#8217;t care about standards&#8221; deal.</h3>
<p>It took a lot of time and effort to educate web designers / developers out there <a href="http://css-tricks.com/what-beautiful-html-code-looks-like/">so they write proper code</a> for their pages; <a href="http://brainstormsandraves.com/articles/semantics/structure/">code that is semantically correct</a>, code that <a href="http://en.wikipedia.org/wiki/Tableless_web_design">doesn&#8217;t use tables for anything but showing tabular data</a>, and code that is based on Cascade Style Sheets (CSS) when it comes to the visual part of this story.<br />
All this being said, we were in a position where you could write a really good looking HTML newsletter, without using tables, almost totally CSS based, and you could be <strong>really</strong> confident about the fact that it would render ok in most email clients, or, at least <em>&#8220;acceptable&#8221;</em> in the worst case scenario (uhmmm&#8230; gMail? somebody).<br />
It used to be like this, &#8217;til a new player joined the game: Outlook 2007.</p>
<h3>Round 3 &#8211; Let&#8217;s use this joke&#8230;. ermm Render Engine.</h3>
<p>The development team in charge of giving us all the new Outlook version had a great idea: Instead of using IE7&#8242;s (which is pretty decent, ironically) engine to render the HTML view of emails, let&#8217;s use the <a href="http://msdn2.microsoft.com/en-us/library/aa338201.aspx">Microsoft Word HTML rendering engine</a>.<br />
I dont really know the reasoning behind this. Outlook 2000, Outlook XP and Outlook 2003 all used Internet Explorer to render the HTML view of email messages, why change now to that CRAPPY engine.<br />
In any case and to sum up all this, right now Outlook 2007 does not supports 2 of the most indispensable CSS properties: <strong>&#8220;Float&#8221;</strong> and <strong>&#8220;Position&#8221;</strong>, and without these 2 properties, even <strong>thinking </strong>about a <em>table-less </em>CSS design is impossible if you want your Outlook 2007 users to see your newsletter with proper formatting.</p>
<h3>Ideas, solutions, workarounds ?</h3>
<p>I wish i had one, but i don&#8217;t. Right now i think that the only solution so far is to go back 6 years in time and &#8220;start&#8221; designing newsletters with TABLES again, that, if you care about people using Outlook 2007 to read their emails. If you don&#8217;t care about them, then just <a href="http://www.soldesignco.com/dev-csstoinline.php">converting your CSS to Inline CSS</a> would be enough.</p>
<h3>Visual comparison between different email clients</h3>
<p>Below is a visual comparison between different email clients showing the exact same newsletter which is HTML / CSS based, without the use of tables for positioning.<br />
Click on each link if you want to see a screenshot of each application doing the HTML rendering:<br />
<a title="Outlook Express 6 newsletter screenshot" rel="lightbox[HTML]" href="http://blog.massanti.com/wp-content/uploads/2008/01/oe6.jpg">Outlook Express 6 on Windows 98: <strong>Even good old OE6 does a better job!</strong></a><br />
<a title="Yahoo newsletter screenshot" rel="lightbox[HTML]" href="http://blog.massanti.com/wp-content/uploads/2008/01/yahoo.jpg">Yahoo Mail: <strong>Just perfect!</strong></a><br />
<a title="Thunderbird’s newsletter screenshot" rel="lightbox[HTML]" href="http://blog.massanti.com/wp-content/uploads/2008/01/thunderbird.jpg">Thunderbird: <strong>Just perfect!</strong></a><br />
<a style="color:red;" title="Outlook 2007 newsletter screenshot" rel="lightbox[HTML]" href="http://blog.massanti.com/wp-content/uploads/2008/01/office_outlook_2007.jpg">Microsoft Office Outlook 2007, <strong>just HORRIBLE, i really have no words for this. A shame.</strong></a><br />
<a title="gMail Newsletter screenshot" rel="lightbox[HTML]" href="http://blog.massanti.com/wp-content/uploads/2008/01/gmail.jpg">gMail, doing a good job on rendering, but still needs improvement.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massanti.com/2008/01/12/welcome-back-to-the-html-tables-age/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

