<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>&lt;CF-A-LOT /&gt; - CSS</title>
			<link>http://www.danlance.co.uk/index.cfm</link>
			<description>Dan Lancelot&apos;s CF-Blog</description>
			<language>en-gb</language>
			<pubDate>Tue, 07 Sep 2010 01:46:16 --0100</pubDate>
			<lastBuildDate>Fri, 19 Mar 2010 22:43:00 --0100</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>danlance@gmail.com</managingEditor>
			<webMaster>danlance@gmail.com</webMaster>
			
			
			
			
			
			<item>
				<title>Outlook 2007 ignoring CSS within an HTML email due to 2 semicolons (;;)</title>
				<link>http://www.danlance.co.uk/index.cfm/2010/3/19/Outlook-2007-ignoring-CSS-within-an-HTML-email-due-to-2-semicolons-</link>
				<description>
				
				Getting HTML emails looking good in Outlook 2007, is a relentless task at the best of times, but this one really caught me out...

The system I was debugging is used for creating and sending Email Marketing campaigns.

When creating a campaign, the system allows you to pick a template, - which selects a CSS style sheet which gets embedded into a style tag at the top of the email.

With one particular template, only around 10% of the styles appeared to be getting applied to the email - most of the email was just using the default styles.

When investigating, I noticed that all the CSS up to a particular point in the file (about 10% of the way through) was being applied, and the rest was being ignored.

This line caused the problem:

&lt;code&gt;
	color:#FF9835;;
&lt;/code&gt;

All CSS after the double semicolon was ignored.

The strange thing is, the CSS file validated successfully using the W3C validation service...

Interesting &lt;i&gt;feature&lt;/i&gt;...
				
				</description>
						
				
				<category>Email</category>				
				
				<category>CSS</category>				
				
				<pubDate>Fri, 19 Mar 2010 22:43:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2010/3/19/Outlook-2007-ignoring-CSS-within-an-HTML-email-due-to-2-semicolons-</guid>
				
			</item>
			
		 	
			</channel></rss>