<?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: Essentials of CSS Hacking For Internet Explorer</title>
	<atom:link href="http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/</link>
	<description>Hypertext rulez™</description>
	<lastBuildDate>Wed, 24 Feb 2010 19:25:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vitaly Friedman</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-711</link>
		<dc:creator>Vitaly Friedman</dc:creator>
		<pubDate>Wed, 29 Jun 2005 19:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-711</guid>
		<description>Thanks, I&#039;ve been looking for such a summary for a loooooong time now. I am willing to add it to my &lt;a href=&quot;http://www.alvit.de/web-dev&quot; rel=&quot;nofollow&quot;&gt;&quot;Web-Dev-Bookmarks&quot;&lt;/a&gt;. Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks, I&#8217;ve been looking for such a summary for a loooooong time now. I am willing to add it to my <a href="http://www.alvit.de/web-dev" rel="nofollow">&#8220;Web-Dev-Bookmarks&#8221;</a>. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cecil Ward</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-707</link>
		<dc:creator>Cecil Ward</dc:creator>
		<pubDate>Wed, 29 Jun 2005 10:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-707</guid>
		<description>A really useful concise article. Looking ahead, it would be helpful to add a follow-up when we have had a chance to play with the first preview versions of Internet Explorer 7, seeing as the arrival of this product will transform the landscape of  hacks.(The &#039;hackscape&#039;? Would that be a useful new coinage?)</description>
		<content:encoded><![CDATA[<p>A really useful concise article. Looking ahead, it would be helpful to add a follow-up when we have had a chance to play with the first preview versions of Internet Explorer 7, seeing as the arrival of this product will transform the landscape of  hacks.(The &#8216;hackscape&#8217;? Would that be a useful new coinage?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Valenti</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-671</link>
		<dc:creator>Chris Valenti</dc:creator>
		<pubDate>Wed, 22 Jun 2005 14:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-671</guid>
		<description>The write-up is excellent.  (My last comment sounded cynical, but was not intended to be negative.)  I&#039;ve fixed one of my IE bugs using the &quot;magic bullet&quot; described &lt;a href=&#039;http://www.communitymx.com/content/article.cfm?cid=C37E0&amp;print=true&#039;&gt;here&lt;/a&gt; (I know I said I would &quot;boycott&quot;, IE...but I was just exaggerating.)  Your post could not have come at the most opportune time!  Thank you!</description>
		<content:encoded><![CDATA[<p>The write-up is excellent.  (My last comment sounded cynical, but was not intended to be negative.)  I&#8217;ve fixed one of my IE bugs using the &#8220;magic bullet&#8221; described <a href='http://www.communitymx.com/content/article.cfm?cid=C37E0&#038;print=true'>here</a> (I know I said I would &#8220;boycott&#8221;, IE&#8230;but I was just exaggerating.)  Your post could not have come at the most opportune time!  Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tunnuz</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-667</link>
		<dc:creator>Tunnuz</dc:creator>
		<pubDate>Wed, 22 Jun 2005 06:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-667</guid>
		<description>I know, and that&#039;s the trick! Try displaying the page I provided to you and see by yourself how it works!</description>
		<content:encoded><![CDATA[<p>I know, and that&#8217;s the trick! Try displaying the page I provided to you and see by yourself how it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rachel</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-665</link>
		<dc:creator>Rachel</dc:creator>
		<pubDate>Tue, 21 Jun 2005 22:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-665</guid>
		<description>I&#039;d just like to say a big thank you!  I think this is definately the best and easiest to understand summary of hacks I&#039;ve read.</description>
		<content:encoded><![CDATA[<p>I&#8217;d just like to say a big thank you!  I think this is definately the best and easiest to understand summary of hacks I&#8217;ve read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: claire</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-664</link>
		<dc:creator>claire</dc:creator>
		<pubDate>Tue, 21 Jun 2005 16:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-664</guid>
		<description>Nice summary :)

IE&#039;s support of &lt;code&gt;!important&lt;/code&gt; is for overwriting inline styles,  so as long as u have separated all the css,  IE won&#039;t ever appear to take any notice of &lt;code&gt;!important&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Nice summary :)</p>
<p>IE&#8217;s support of <code>!important</code> is for overwriting inline styles,  so as long as u have separated all the css,  IE won&#8217;t ever appear to take any notice of <code>!important</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trey Piepmeier</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-663</link>
		<dc:creator>Trey Piepmeier</dc:creator>
		<pubDate>Tue, 21 Jun 2005 15:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-663</guid>
		<description>Conditional comments really have been a lifesaver for me.  Another very helpful technique, is the mid-pass filter.  You can put the &lt;a href=&quot;http://tantek.com/CSS/Examples/midpass.html&quot;&gt;one for IE5/Win&lt;/a&gt; inside of the document you reference in your  conditional comment for &quot;lte IE 6&quot;, and save a little space in your HTML document, and the &lt;a href=&quot;http://stopdesign.com/examples/ie5mac-bpf/&quot;&gt;one for IE5/Mac&lt;/a&gt; is the only way to go for that browser.</description>
		<content:encoded><![CDATA[<p>Conditional comments really have been a lifesaver for me.  Another very helpful technique, is the mid-pass filter.  You can put the <a href="http://tantek.com/CSS/Examples/midpass.html">one for IE5/Win</a> inside of the document you reference in your  conditional comment for &#8220;lte IE 6&#8243;, and save a little space in your HTML document, and the <a href="http://stopdesign.com/examples/ie5mac-bpf/">one for IE5/Mac</a> is the only way to go for that browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-661</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Tue, 21 Jun 2005 14:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-661</guid>
		<description>Keith, thanks for clearing things out.</description>
		<content:encoded><![CDATA[<p>Keith, thanks for clearing things out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Bell</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-660</link>
		<dc:creator>Keith Bell</dc:creator>
		<pubDate>Tue, 21 Jun 2005 13:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-660</guid>
		<description>Marko, Jon B: underscore hack

In practice, Jon B is correct. Bear in mind that, for example, &lt;code&gt;_width: 100px&lt;/code&gt; &lt;em&gt;is not the same&lt;/em&gt; as &lt;code&gt;width: 100px&lt;/code&gt;. When writing &lt;code&gt;_width: 100px&lt;/code&gt;, you are in effect creating a new property, &lt;code&gt;_width&lt;/code&gt;, following rules allowed by the specification for valid characters and their position. But as it is neither standard CSS nor a recognised vendor-specific property, it is simply ignored by compliant browsers. However due to a bug in IE5+/Win, it does not &quot;see&quot; the initial underscore, and reads it as &lt;code&gt;width: 100px&lt;/code&gt; instead of &lt;code&gt;_width: 100px&lt;/code&gt; and sets the width of the element accordingly.

Another salient part of the CSS 2.1 spec, from clause 4.1.2:

&quot;An initial dash or underscore is guaranteed never to be used in a property or keyword by any current or future level of CSS. Thus typical CSS implementations may not recognize such properties and may ignore them according to the rules for handling parsing errors. However, because the initial dash or underscore is part of the grammar, CSS2.1 implementers should always be able to use a CSS-conforming parser, whether or not they support any vendor-specific extensions.&quot;</description>
		<content:encoded><![CDATA[<p>Marko, Jon B: underscore hack</p>
<p>In practice, Jon B is correct. Bear in mind that, for example, <code>_width: 100px</code> <em>is not the same</em> as <code>width: 100px</code>. When writing <code>_width: 100px</code>, you are in effect creating a new property, <code>_width</code>, following rules allowed by the specification for valid characters and their position. But as it is neither standard CSS nor a recognised vendor-specific property, it is simply ignored by compliant browsers. However due to a bug in IE5+/Win, it does not &#8220;see&#8221; the initial underscore, and reads it as <code>width: 100px</code> instead of <code>_width: 100px</code> and sets the width of the element accordingly.</p>
<p>Another salient part of the CSS 2.1 spec, from clause 4.1.2:</p>
<p>&#8220;An initial dash or underscore is guaranteed never to be used in a property or keyword by any current or future level of CSS. Thus typical CSS implementations may not recognize such properties and may ignore them according to the rules for handling parsing errors. However, because the initial dash or underscore is part of the grammar, CSS2.1 implementers should always be able to use a CSS-conforming parser, whether or not they support any vendor-specific extensions.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-658</link>
		<dc:creator>Jon B</dc:creator>
		<pubDate>Tue, 21 Jun 2005 13:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-658</guid>
		<description>!important is supported by IE, just not in the way that it should be and hence it can be exploited. Also the underscore hack is valid but only with the _ at the beginning as I understand it.</description>
		<content:encoded><![CDATA[<p>!important is supported by IE, just not in the way that it should be and hence it can be exploited. Also the underscore hack is valid but only with the _ at the beginning as I understand it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-657</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Tue, 21 Jun 2005 12:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-657</guid>
		<description>Keith, thanks for you insight. However, I must disagree that &lt;code&gt;_property: value;&lt;/code&gt; is correct, because then the &lt;code&gt;p_r_o_p_e_r_t_y: value;&lt;/code&gt; would be correct also, and IE wouldn&#8217;t ignore it.

From what you have quoted, it does&#8217;n say we can write CSS properties whatever way we want, it just says about which characters certain elements can contain of. This means that property &lt;code&gt;-moz-radius&lt;/code&gt; has correct charset, even though it&#8217;s not w3c recommended property.</description>
		<content:encoded><![CDATA[<p>Keith, thanks for you insight. However, I must disagree that <code>_property: value;</code> is correct, because then the <code>p_r_o_p_e_r_t_y: value;</code> would be correct also, and IE wouldn&#8217;t ignore it.</p>
<p>From what you have quoted, it does&#8217;n say we can write CSS properties whatever way we want, it just says about which characters certain elements can contain of. This means that property <code>-moz-radius</code> has correct charset, even though it&#8217;s not w3c recommended property.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Bell</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-656</link>
		<dc:creator>Keith Bell</dc:creator>
		<pubDate>Tue, 21 Jun 2005 10:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-656</guid>
		<description>Marko, Jon B and Ozh: underscore hack

The underscore hack fails the W3C CSS validator, but in spite of that, it IS valid CSS. According to the CSS 2.1 specification (clause 4.1.3) the initial underscore is permissible in identifiers:

&quot;In CSS 2.1, identifiers  (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit. Only properties, values, units, pseudo-classes, pseudo-elements, and at-rules may start with a hyphen (-); other identifiers (e.g. element names, classes, or IDs) may not.&quot;

This freedom allows for the creation of vendor-specific extensions, as in clause 4.1.2.1 of the specification, which is likely why the validator does not recognise the construction even though it is permitted by the spec.

The hack is explained neatly &lt;a href=&quot;http://wellstyled.com/css-underscore-hack.html&quot;&gt;here&lt;/a&gt;.

As always, there are considerations when using one browser bug to solve another, as Simon Willison points out &lt;a href=&quot;http://simon.incutio.com/archive/2003/11/23/underscore&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Marko, Jon B and Ozh: underscore hack</p>
<p>The underscore hack fails the W3C CSS validator, but in spite of that, it IS valid CSS. According to the CSS 2.1 specification (clause 4.1.3) the initial underscore is permissible in identifiers:</p>
<p>&#8220;In CSS 2.1, identifiers  (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit. Only properties, values, units, pseudo-classes, pseudo-elements, and at-rules may start with a hyphen (-); other identifiers (e.g. element names, classes, or IDs) may not.&#8221;</p>
<p>This freedom allows for the creation of vendor-specific extensions, as in clause 4.1.2.1 of the specification, which is likely why the validator does not recognise the construction even though it is permitted by the spec.</p>
<p>The hack is explained neatly <a href="http://wellstyled.com/css-underscore-hack.html">here</a>.</p>
<p>As always, there are considerations when using one browser bug to solve another, as Simon Willison points out <a href="http://simon.incutio.com/archive/2003/11/23/underscore">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-655</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Tue, 21 Jun 2005 08:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-655</guid>
		<description>&lt;a href=&quot;#comment-653&quot; rel=&quot;nofollow&quot;&gt;@Wayne M&lt;/a&gt;: IE doesn&#8217;t support &lt;code&gt;!important&lt;/code&gt; in the following scenario:
&lt;code&gt;someselector {
    property: value !important;
    same-property: another-value;
}&lt;/code&gt;
It will always take the last value set for the same property within the same set of rules. Apologies for not being precise.</description>
		<content:encoded><![CDATA[<p><a href="#comment-653" rel="nofollow">@Wayne M</a>: IE doesn&#8217;t support <code>!important</code> in the following scenario:<br />
<code>someselector {<br />
    property: value !important;<br />
    same-property: another-value;<br />
}</code><br />
It will always take the last value set for the same property within the same set of rules. Apologies for not being precise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-654</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Tue, 21 Jun 2005 08:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-654</guid>
		<description>Nice summary. Any argument on backslash hack vs underscore hack ?</description>
		<content:encoded><![CDATA[<p>Nice summary. Any argument on backslash hack vs underscore hack ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wayne M</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-653</link>
		<dc:creator>Wayne M</dc:creator>
		<pubDate>Tue, 21 Jun 2005 07:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-653</guid>
		<description>I was always under the impression that IE did not support !important rules.</description>
		<content:encoded><![CDATA[<p>I was always under the impression that IE did not support !important rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-652</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Tue, 21 Jun 2005 06:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-652</guid>
		<description>&lt;a href=&quot;#comment-651&quot;&gt;@Tunnuz&lt;/a&gt;: IE &lt;em&gt;does&lt;/em&gt; support &lt;code&gt;!important&lt;/code&gt; rules.</description>
		<content:encoded><![CDATA[<p><a href="#comment-651">@Tunnuz</a>: IE <em>does</em> support <code>!important</code> rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tunnuz</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-651</link>
		<dc:creator>Tunnuz</dc:creator>
		<pubDate>Tue, 21 Jun 2005 06:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-651</guid>
		<description>I rather use the Shaun Inman&#039;s trick with the div[id=idname] (that IE does not support) to write the non-IE code, and then adding !important instruction to make non-IE instructions prevail with the other browsers :) it&#039;s nice and cool, because IE does not support also the !important instruction so he reads only the &quot;standard&quot; instructions. :) clear? Try it at: http://www.csszengarden.com/?cssfile=057%2F057%2Ecss</description>
		<content:encoded><![CDATA[<p>I rather use the Shaun Inman&#8217;s trick with the div[id=idname] (that IE does not support) to write the non-IE code, and then adding !important instruction to make non-IE instructions prevail with the other browsers :) it&#8217;s nice and cool, because IE does not support also the !important instruction so he reads only the &#8220;standard&#8221; instructions. :) clear? Try it at: <a href="http://www.csszengarden.com/?cssfile=057%2F057%2Ecss" rel="nofollow">http://www.csszengarden.com/?cssfile=057%2F057%2Ecss</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rex Chung</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-650</link>
		<dc:creator>Rex Chung</dc:creator>
		<pubDate>Tue, 21 Jun 2005 05:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-650</guid>
		<description>I usually use * html .mystyle { } for IE specific styles.</description>
		<content:encoded><![CDATA[<p>I usually use * html .mystyle { } for IE specific styles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-648</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Mon, 20 Jun 2005 21:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-648</guid>
		<description>&lt;a href=&quot;#comment-647&quot;&gt;@Jon B&lt;/a&gt;: IE 5.x will render &lt;code&gt;width: 200px;&lt;/code&gt;, but will fail to recognize &lt;code&gt;w\idth: 180px;&lt;/code&gt;. IE 6 on the other hand doesn&#8217;t have problems with backslashes inside property name, so it will render 180 pixels, since it&#8217;s the last rule for &lt;code&gt;width&lt;/code&gt; property.

I never worked in quirks mode, so I wouldn&#8217;t really know.

Underscore hack is not valid CSS. Backslash is.

User testing is usually for usability issues, browser testing is for browser issues.

You can download standalone versions of Internet Explorer from &lt;a href=&quot;http://www.skyzyx.com/downloads/&quot;&gt;skyzyx.com&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p><a href="#comment-647">@Jon B</a>: IE 5.x will render <code>width: 200px;</code>, but will fail to recognize <code>w\idth: 180px;</code>. IE 6 on the other hand doesn&#8217;t have problems with backslashes inside property name, so it will render 180 pixels, since it&#8217;s the last rule for <code>width</code> property.</p>
<p>I never worked in quirks mode, so I wouldn&#8217;t really know.</p>
<p>Underscore hack is not valid CSS. Backslash is.</p>
<p>User testing is usually for usability issues, browser testing is for browser issues.</p>
<p>You can download standalone versions of Internet Explorer from <a href="http://www.skyzyx.com/downloads/">skyzyx.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B</title>
		<link>http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/comment-page-1/#comment-647</link>
		<dc:creator>Jon B</dc:creator>
		<pubDate>Mon, 20 Jun 2005 21:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2005/06/16/essentials-of-css-hacking-for-internet-explorer/#comment-647</guid>
		<description>Your write up on the &quot;Backslash hack for IE 5.x broken box model&quot; doesn&#039;t mention that IE6 when given a correct doctype will actually use the correct box model and this hack will break it.

Also as far as I was aware you can&#039;t put the backslash before an &quot;i&quot; - there are certain letters that mean something else when escaped.

Plus I thought the backslash hack only worked in IE6 and the underscore hack worked in IE5+.

I would be greatful for some user tests and clarification on these things. I don&#039;t have IE5 so I can&#039;t check it.</description>
		<content:encoded><![CDATA[<p>Your write up on the &#8220;Backslash hack for IE 5.x broken box model&#8221; doesn&#8217;t mention that IE6 when given a correct doctype will actually use the correct box model and this hack will break it.</p>
<p>Also as far as I was aware you can&#8217;t put the backslash before an &#8220;i&#8221; &#8211; there are certain letters that mean something else when escaped.</p>
<p>Plus I thought the backslash hack only worked in IE6 and the underscore hack worked in IE5+.</p>
<p>I would be greatful for some user tests and clarification on these things. I don&#8217;t have IE5 so I can&#8217;t check it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
