<?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>Web design and development in London and Surrey &#187; conditional comments</title>
	<atom:link href="http://zorinweb.com/tag/conditional-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://zorinweb.com</link>
	<description>Just another Web design and development weblog</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:56:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Fixing Internet Explorer CSS Problems with Conditional Comments</title>
		<link>http://zorinweb.com/2009/12/fixing-internet-explorer-css-problems-with-conditional-comments/</link>
		<comments>http://zorinweb.com/2009/12/fixing-internet-explorer-css-problems-with-conditional-comments/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 16:13:15 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[conditional comments]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=93</guid>
		<description><![CDATA[You&#8217;ve developed a site using W3C best practices; it validates, the markup&#8217;s semantic or as clean as possible, and looks great in Firefox. The problem is, Internet Explorer doesn&#8217;t quite see it as the designer intended. The CSS is out and in need of a few hacks; but there&#8217;s a better, more effecient and tidier [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve developed a site using W3C best practices; it validates, the markup&#8217;s semantic or as clean as possible, and looks great in Firefox. The problem is, Internet Explorer doesn&#8217;t quite see it as the designer intended. The CSS is out and in need of a few hacks; but there&#8217;s a better, more effecient and tidier solution &#8211; conditional comments.<br />
<code><br />
&lt;!--[if lte IE 7]&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="css/ie.css" media="screen" /&gt;<br />
&lt;![endif]--&gt;</code></p>
<p><span id="more-93"></span></p>
<p>The above piece of code targets selects all     IE versions less than or equal to 7, and is Microsoft&#8217;s recommended method for aiming CSS as one of its browsers.  Include all the problematic CSS in stylesheet &#8216;ie.css&#8217; and leave the conditional comment below the main stylesheet. Try this rather than resorting to a hack, or giving up entirely and whacking a table in.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2009/12/fixing-internet-explorer-css-problems-with-conditional-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

