<?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"
	>
<channel>
	<title>Comments on: Defeating IE6 with Emphasis - The Underscore Hack</title>
	<atom:link href="http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/</link>
	<description></description>
	<pubDate>Wed, 08 Oct 2008 04:15:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Joshua</title>
		<link>http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-295</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Fri, 25 Jan 2008 02:13:56 +0000</pubDate>
		<guid isPermaLink="false">http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-295</guid>
		<description>@Deron: That's been my experience as well. I rarely use hacks, but if I do need one for IE6, the underscore is my first choice because I find it the most natural fit for my style of CSS coding. It also means that I can do all of my work in the stylesheet rather than having to edit the HTML.</description>
		<content:encoded><![CDATA[<p>@Deron: That&#8217;s been my experience as well. I rarely use hacks, but if I do need one for IE6, the underscore is my first choice because I find it the most natural fit for my style of CSS coding. It also means that I can do all of my work in the stylesheet rather than having to edit the HTML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deron Sizemore</title>
		<link>http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-294</link>
		<dc:creator>Deron Sizemore</dc:creator>
		<pubDate>Fri, 25 Jan 2008 01:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-294</guid>
		<description>If I have to use any "hacks" for IE, I prefer to just use IE conditionals. Either way will work, I just like conditionals better because I find it a little easier. Once all browsers have standards support and we can finally stop developing for IE6, all I need to do is simply delete the IE stylesheet, rather than dig through code to find the hacks to remove. That's supposing of course that you're using a ton of hacks in your stylesheet that you'd have to find. In my experience, most layouts can be accomplished without hacks at all.</description>
		<content:encoded><![CDATA[<p>If I have to use any &#8220;hacks&#8221; for IE, I prefer to just use IE conditionals. Either way will work, I just like conditionals better because I find it a little easier. Once all browsers have standards support and we can finally stop developing for IE6, all I need to do is simply delete the IE stylesheet, rather than dig through code to find the hacks to remove. That&#8217;s supposing of course that you&#8217;re using a ton of hacks in your stylesheet that you&#8217;d have to find. In my experience, most layouts can be accomplished without hacks at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-160</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Thu, 10 Jan 2008 04:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-160</guid>
		<description>The CSS would still remain valid, since the underscore is permitted by the spec. However, the W3C's automated validator will (incorrectly) say that it is invalid.

Putting the IE hacks in a separate block could be a good idea, depending on the circumstances. If I need to use them, though, I tend to keep them next to the property that I'm overriding so that when edits are made in the future, I'll know to change both values.</description>
		<content:encoded><![CDATA[<p>The CSS would still remain valid, since the underscore is permitted by the spec. However, the W3C&#8217;s automated validator will (incorrectly) say that it is invalid.</p>
<p>Putting the IE hacks in a separate block could be a good idea, depending on the circumstances. If I need to use them, though, I tend to keep them next to the property that I&#8217;m overriding so that when edits are made in the future, I&#8217;ll know to change both values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Davis</title>
		<link>http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-158</link>
		<dc:creator>Eric Davis</dc:creator>
		<pubDate>Wed, 09 Jan 2008 17:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://joshuaclanton.com/blog/2008/01/09/defeating-ie6-with-emphasis-the-underscore-hack/#comment-158</guid>
		<description>Interesting but would css using that still validate?

I think it might even be cleaner to just override IE6's css in a separate block.


/* All browsers */
#page {
background-color: white;
}

...

/* IE hacks */
#page {
_background-color: black;
}

... (other IE hacks)
</description>
		<content:encoded><![CDATA[<p>Interesting but would css using that still validate?</p>
<p>I think it might even be cleaner to just override IE6&#8217;s css in a separate block.</p>
<p>/* All browsers */<br />
#page {<br />
background-color: white;<br />
}</p>
<p>&#8230;</p>
<p>/* IE hacks */<br />
#page {<br />
_background-color: black;<br />
}</p>
<p>&#8230; (other IE hacks)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
