<?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: CSS hacks - Targetting IE7</title>
	<atom:link href="http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/</link>
	<description>Web development and geeky stuff by Lafinboy</description>
	<pubDate>Tue, 06 Jan 2009 05:02:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lafinboy</title>
		<link>http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/comment-page-1/#comment-167</link>
		<dc:creator>Lafinboy</dc:creator>
		<pubDate>Mon, 05 Mar 2007 20:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.thought-after.com/2006/11/28/css-hacks-targetting-ie7/#comment-167</guid>
		<description>Hmm - conditional comments only work in IE browsers - maybe your implementation is wrong.</description>
		<content:encoded><![CDATA[<p>Hmm - conditional comments only work in IE browsers - maybe your implementation is wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conditional Comment</title>
		<link>http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/comment-page-1/#comment-166</link>
		<dc:creator>Conditional Comment</dc:creator>
		<pubDate>Mon, 05 Mar 2007 17:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thought-after.com/2006/11/28/css-hacks-targetting-ie7/#comment-166</guid>
		<description>Hi

the conditional comment feature does not work for IE 7</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>the conditional comment feature does not work for IE 7</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GoofyDawg</title>
		<link>http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/comment-page-1/#comment-165</link>
		<dc:creator>GoofyDawg</dc:creator>
		<pubDate>Thu, 25 Jan 2007 22:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thought-after.com/2006/11/28/css-hacks-targetting-ie7/#comment-165</guid>
		<description>There's actually a hackless way to target any version of IE 7, called the "conditional comment" that is only available to IE, but is completely ignored by all other browsers. It's a hack in the sense that you're creating CSS specific to a browser type, but the advantage is that you'll always write valid CSS.

Read about its use here:
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp

What's great about this technique is that you can write your CSS for Firefox and other compliant browsers, then drop in a conditional comment with a new style block that will override your previous definitions. This makes your base CSS file portable and hackless.

GoofyDawg</description>
		<content:encoded><![CDATA[<p>There&#039;s actually a hackless way to target any version of IE 7, called the &#034;conditional comment&#034; that is only available to IE, but is completely ignored by all other browsers. It&#039;s a hack in the sense that you&#039;re creating CSS specific to a browser type, but the advantage is that you&#039;ll always write valid CSS.</p>
<p>Read about its use here:<br />
<a href="http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp" rel="nofollow">http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp</a></p>
<p>What&#039;s great about this technique is that you can write your CSS for Firefox and other compliant browsers, then drop in a conditional comment with a new style block that will override your previous definitions. This makes your base CSS file portable and hackless.</p>
<p>GoofyDawg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/comment-page-1/#comment-164</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Tue, 16 Jan 2007 00:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thought-after.com/2006/11/28/css-hacks-targetting-ie7/#comment-164</guid>
		<description>I'm a perfectionist so it's a bit annoying that the code isn't valid now but it's still not as annoying as the align problem was.

I found a guide to one solution but it doesn't seem to work in my case.

http://www.positioniseverything.net/bg-centering.html

Is there really no other way...?</description>
		<content:encoded><![CDATA[<p>I&#039;m a perfectionist so it&#039;s a bit annoying that the code isn&#039;t valid now but it&#039;s still not as annoying as the align problem was.</p>
<p>I found a guide to one solution but it doesn&#039;t seem to work in my case.</p>
<p><a href="http://www.positioniseverything.net/bg-centering.html" rel="nofollow">http://www.positioniseverything.net/bg-centering.html</a></p>
<p>Is there really no other way&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.thought-after.com/2006/11/css-hacks-targetting-ie7/comment-page-1/#comment-163</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 15 Jan 2007 23:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thought-after.com/2006/11/28/css-hacks-targetting-ie7/#comment-163</guid>
		<description>Thanks! This will be the only little tiny bit of code that isn't valid on my site because I've run into a problem in IE that can't be solved any other way. It's the one when you center the background in the body with  background-position: center;  and you center the header div with  margin: 0 auto;  and it ends up 1 pixel to the left in IE. Very annoying. They need to solve that!

By the way does this work in previous IE browsers or is it just for IE7?</description>
		<content:encoded><![CDATA[<p>Thanks! This will be the only little tiny bit of code that isn&#039;t valid on my site because I&#039;ve run into a problem in IE that can&#039;t be solved any other way. It&#039;s the one when you center the background in the body with  background-position: center;  and you center the header div with  margin: 0 auto;  and it ends up 1 pixel to the left in IE. Very annoying. They need to solve that!</p>
<p>By the way does this work in previous IE browsers or is it just for IE7?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
