<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Nested conditional comments</title>
	<atom:link href="http://alastairc.ac/2008/05/nested-conditional-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://alastairc.ac/2008/05/nested-conditional-comments/</link>
	<description>Kything web interactions</description>
	<lastBuildDate>Thu, 12 Jan 2012 09:29:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Terrence Wood</title>
		<link>http://alastairc.ac/2008/05/nested-conditional-comments/comment-page-1/#comment-49535</link>
		<dc:creator>Terrence Wood</dc:creator>
		<pubDate>Mon, 19 May 2008 03:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://alastairc.ac/?p=302#comment-49535</guid>
		<description>removing the parenthesis from the expression processes AND/OR conditionals:

&lt;code&gt;&lt;!&#8211;&#8211; [if gte IE 6 &amp; lte IE 8]&gt; &#8211;&#8211;&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>removing the parenthesis from the expression processes AND/OR conditionals:</p>
<p><code>&lt;!&ndash;&ndash; [if gte IE 6 &amp; lte IE 8]&gt; &ndash;&ndash;&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlastairC</title>
		<link>http://alastairc.ac/2008/05/nested-conditional-comments/comment-page-1/#comment-48885</link>
		<dc:creator>AlastairC</dc:creator>
		<pubDate>Thu, 15 May 2008 09:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://alastairc.ac/?p=302#comment-48885</guid>
		<description>Hi Marcus,

It seems it was down to caching - I&#039;ve updated the post.

I&#039;m sure that the HTTP header thing will be reliable (in &lt;strong&gt;IE8&lt;/strong&gt;), there was such a big fuss about it.

However, check that page just before/after IE8 goes mainstream, as &lt;a href=&quot;http://www.joelonsoftware.com/items/2008/03/17.html&quot; rel=&quot;nofollow&quot;&gt;if Joel Spolsky is right&lt;/a&gt;, they will have reversed the default (so that IE8 renders as IE7 by default).</description>
		<content:encoded><![CDATA[<p>Hi Marcus,</p>
<p>It seems it was down to caching &#8211; I&#8217;ve updated the post.</p>
<p>I&#8217;m sure that the HTTP header thing will be reliable (in <strong>IE8</strong>), there was such a big fuss about it.</p>
<p>However, check that page just before/after IE8 goes mainstream, as <a href="http://www.joelonsoftware.com/items/2008/03/17.html" rel="nofollow">if Joel Spolsky is right</a>, they will have reversed the default (so that IE8 renders as IE7 by default).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://alastairc.ac/2008/05/nested-conditional-comments/comment-page-1/#comment-48861</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Thu, 15 May 2008 07:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://alastairc.ac/?p=302#comment-48861</guid>
		<description>Using IE6 on XP (SP2): I get
-----------
[if (gte IE 6)&amp;(lte IE 7)]

[if (IE 6)&#124;(IE 7)]

[if gte IE 6] nested within [if lt IE 8]
-----------
Followed by:
-----------
-----------
The following script will show the rendering version Internet Explorer thinks it is:


So:
* All the IE6 tests work correctly, displaying the text
* All the IE5 tests work correcly, displaying nothing
* The &#039;compatibility mode&#039; Javascript isn&#039;t displayed, because document.mode is IE8 only. document.compatMode should work in IE6 + 7.

There&#039;s an interesting MSDN article which talks about setting HTTP Headers which can control IE&#039;s behaviour: setting &#039;X-UA-Compatible&#039; to &#039;IE=7&#039; should make IE8 render as IE7.  I&#039;d love to know if that were reliable!
source: http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx</description>
		<content:encoded><![CDATA[<p>Using IE6 on XP (SP2): I get<br />
&#8212;&#8212;&#8212;&#8211;<br />
[if (gte IE 6)&amp;(lte IE 7)]</p>
<p>[if (IE 6)|(IE 7)]</p>
<p>[if gte IE 6] nested within [if lt IE 8]<br />
&#8212;&#8212;&#8212;&#8211;<br />
Followed by:<br />
&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;&#8211;<br />
The following script will show the rendering version Internet Explorer thinks it is:</p>
<p>So:<br />
* All the IE6 tests work correctly, displaying the text<br />
* All the IE5 tests work correcly, displaying nothing<br />
* The &#8216;compatibility mode&#8217; Javascript isn&#8217;t displayed, because document.mode is IE8 only. document.compatMode should work in IE6 + 7.</p>
<p>There&#8217;s an interesting MSDN article which talks about setting HTTP Headers which can control IE&#8217;s behaviour: setting &#8216;X-UA-Compatible&#8217; to &#8216;IE=7&#8242; should make IE8 render as IE7.  I&#8217;d love to know if that were reliable!<br />
source: <a href="http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

