<?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: IE7 Bugs and Fixes, Part I</title>
	<atom:link href="http://www.zeldman.com/2006/10/27/ie7fixes1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zeldman.com/2006/10/27/ie7fixes1/</link>
	<description>Web design news and insights since 1995</description>
	<lastBuildDate>Fri, 12 Mar 2010 00:24:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: IE7 design(?) problem: Upload doesn&#39;t show &#124; SWFUpload</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-47279</link>
		<dc:creator>IE7 design(?) problem: Upload doesn&#39;t show &#124; SWFUpload</dc:creator>
		<pubDate>Wed, 12 Aug 2009 13:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-47279</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] it could be the peekaboo css bug to me. Might be worth looking into that, a basic solution is here: http://www.zeldman.com/2006/10/27/ie7fixes1/   Login or register to post comments      January 22, 2008 - 3:46pm â€” [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[...] it could be the peekaboo css bug to me. Might be worth looking into that, a basic solution is here: <a href="http://www.zeldman.com/2006/10/27/ie7fixes1/" rel="nofollow">http://www.zeldman.com/2006/10/27/ie7fixes1/</a>   Login or register to post comments      January 22, 2008 &#8211; 3:46pm â€” [...]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Portrait artists</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-17601</link>
		<dc:creator>Portrait artists</dc:creator>
		<pubDate>Mon, 23 Jul 2007 02:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-17601</guid>
		<description>The following code is an instance of the Holly hack. Primarily, the Holly hack consists of a set of hiding methods wrapped around that 1% height, which is the key to the hack. The whole idea is to let IE/Win and only IE/Win see that height and apply it to the buggy box.

/* Hides from IE5-mac \*/
* html .buggybox {height: 1%;}
/* End hide from IE5-mac */

How come yours is 

/* Hides from IE5-mac \*/
html #contentWrapper {height: 1%;}
/* End hide from IE5-mac */

It looks like your new code lacks the universal selector star before the html.  The use of the universal selector preceding html, also known as the Tan Hack (or Star HTML Selector Bug), works in IE browsers and nowhere else. Thus, the reason for using the &quot;Mac-hack&quot; is to prevent IE5/Mac from seeing this height just as other browsers are, because it does not wrongly enlarge the box like IE/Win, but it does read the Tan hack. What really matters is that * html must always precede whatever target element is to be fixed, and that the * and html have a space between them, followed by another space, and then the target element.</description>
		<content:encoded><![CDATA[<p>The following code is an instance of the Holly hack. Primarily, the Holly hack consists of a set of hiding methods wrapped around that 1% height, which is the key to the hack. The whole idea is to let IE/Win and only IE/Win see that height and apply it to the buggy box.</p>
<p>/* Hides from IE5-mac \*/<br />
* html .buggybox {height: 1%;}<br />
/* End hide from IE5-mac */</p>
<p>How come yours is </p>
<p>/* Hides from IE5-mac \*/<br />
html #contentWrapper {height: 1%;}<br />
/* End hide from IE5-mac */</p>
<p>It looks like your new code lacks the universal selector star before the html.  The use of the universal selector preceding html, also known as the Tan Hack (or Star HTML Selector Bug), works in IE browsers and nowhere else. Thus, the reason for using the &#8220;Mac-hack&#8221; is to prevent IE5/Mac from seeing this height just as other browsers are, because it does not wrongly enlarge the box like IE/Win, but it does read the Tan hack. What really matters is that * html must always precede whatever target element is to be fixed, and that the * and html have a space between them, followed by another space, and then the target element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jewellery</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-17400</link>
		<dc:creator>jewellery</dc:creator>
		<pubDate>Tue, 17 Jul 2007 22:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-17400</guid>
		<description>Iâ€™m afraid I have to agree with those calling for manhandling explorer a bit, if only from a purely economics standpoint.  Our capitalist economy is built on the principle of the invisible hand.  Poor business practices and/or products are supposed to result in a natural market correction away from those companies that produce them.  Now I recognize that Microsoft has never been particularly keen on the notion of a free-market economy, though they donâ€™t mind raking in the fruits of that economy, but to me it seems incredibly backwards that we actually find ways to help them along.  I agree with the call to gently push our clients towards other, more functional browsers, but beyond this, it is worth recognizing what is supposed to happen â€“ if users suddenly couldnâ€™t access most pages because their browser didnâ€™t allow them to, how long do you think that browser would be able to stay on the market?  Isnâ€™t that whatâ€™s supposed to happen?</description>
		<content:encoded><![CDATA[<p>Iâ€™m afraid I have to agree with those calling for manhandling explorer a bit, if only from a purely economics standpoint.  Our capitalist economy is built on the principle of the invisible hand.  Poor business practices and/or products are supposed to result in a natural market correction away from those companies that produce them.  Now I recognize that Microsoft has never been particularly keen on the notion of a free-market economy, though they donâ€™t mind raking in the fruits of that economy, but to me it seems incredibly backwards that we actually find ways to help them along.  I agree with the call to gently push our clients towards other, more functional browsers, but beyond this, it is worth recognizing what is supposed to happen â€“ if users suddenly couldnâ€™t access most pages because their browser didnâ€™t allow them to, how long do you think that browser would be able to stay on the market?  Isnâ€™t that whatâ€™s supposed to happen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-14737</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sat, 09 Jun 2007 09:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-14737</guid>
		<description>thanks! those fixes helped a lot. i thought i was going nuts.</description>
		<content:encoded><![CDATA[<p>thanks! those fixes helped a lot. i thought i was going nuts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Corrigan</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-14617</link>
		<dc:creator>Chris Corrigan</dc:creator>
		<pubDate>Fri, 08 Jun 2007 21:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-14617</guid>
		<description>Do NOT install different versions of IE on the same computer, as some of their libraries will be shared. Get another computer, or run vmware player for a virtual machine running IE6. Hacks are evil. IE fixes some bugs but not others, IE7 is so different than IE6 we have to target specific versions - conditional comments is the only way. 

Zoom: 1; applies haslayout and fixes a lot of things, and is future proof. I don&#039;t care if it doesn&#039;t validate, as validation is meant to be a tool to help you debug, not show off your work - your customers only care if the site works. Or put it in a conditionally loaded stylesheet if you are an idealist. Stamp the page with the browser version. Then in your css you can target one or multiple browser versions for style overrides right in the same stylesheet. If you are decent at css, you&#039;ll find that the overwhelming bulk of your code works everywhere, with a very small amount override rules. 

To the guy suggesting we don&#039;t support IE at all - I feel sorry for your customers, most people on the internet will have problems with their site. As for NN4, IE5 on the mac, no one cares about them anymore, not even their makers. Let them die along with the bad memories.</description>
		<content:encoded><![CDATA[<p>Do NOT install different versions of IE on the same computer, as some of their libraries will be shared. Get another computer, or run vmware player for a virtual machine running IE6. Hacks are evil. IE fixes some bugs but not others, IE7 is so different than IE6 we have to target specific versions &#8211; conditional comments is the only way. </p>
<p>Zoom: 1; applies haslayout and fixes a lot of things, and is future proof. I don&#8217;t care if it doesn&#8217;t validate, as validation is meant to be a tool to help you debug, not show off your work &#8211; your customers only care if the site works. Or put it in a conditionally loaded stylesheet if you are an idealist. Stamp the page with the browser version. Then in your css you can target one or multiple browser versions for style overrides right in the same stylesheet. If you are decent at css, you&#8217;ll find that the overwhelming bulk of your code works everywhere, with a very small amount override rules. </p>
<p>To the guy suggesting we don&#8217;t support IE at all &#8211; I feel sorry for your customers, most people on the internet will have problems with their site. As for NN4, IE5 on the mac, no one cares about them anymore, not even their makers. Let them die along with the bad memories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tero Tilus</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-13415</link>
		<dc:creator>Tero Tilus</dc:creator>
		<pubDate>Tue, 22 May 2007 13:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-13415</guid>
		<description>I was able to fix IE7 peek-a-boo by 

* { line-height: 1.3; }

and setting line-height is a good thing to do anyway...

See additional discussion &lt;a href=&quot;http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets/browse_frm/thread/b740dd72beffcf5c/5949edd5254a94db?&amp;hl=en#5949edd5254a94db&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>I was able to fix IE7 peek-a-boo by </p>
<p>* { line-height: 1.3; }</p>
<p>and setting line-height is a good thing to do anyway&#8230;</p>
<p>See additional discussion <a href="http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets/browse_frm/thread/b740dd72beffcf5c/5949edd5254a94db?&#038;hl=en#5949edd5254a94db">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R Cramer</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-8569</link>
		<dc:creator>R Cramer</dc:creator>
		<pubDate>Tue, 20 Feb 2007 20:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-8569</guid>
		<description>A couple people here have mentioned conditional comments as being the answer to all. I used to think that until my copy of IE6 started reporting itself as IE7. Now the only way to target it is with the holly hack, because IE6 thinks it&#039;s IE7. 

If you install IE6 on a computer that is already running IE7, then that copy of IE6 will think it&#039;s IE7. At least, that was my experience. This setup is probably pretty common among web developers. It makes using conditional comments useless, at least during development. The holly hack again becomes necessary.</description>
		<content:encoded><![CDATA[<p>A couple people here have mentioned conditional comments as being the answer to all. I used to think that until my copy of IE6 started reporting itself as IE7. Now the only way to target it is with the holly hack, because IE6 thinks it&#8217;s IE7. </p>
<p>If you install IE6 on a computer that is already running IE7, then that copy of IE6 will think it&#8217;s IE7. At least, that was my experience. This setup is probably pretty common among web developers. It makes using conditional comments useless, at least during development. The holly hack again becomes necessary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scuttle: Tags: internet explorer</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-8263</link>
		<dc:creator>Scuttle: Tags: internet explorer</dc:creator>
		<pubDate>Tue, 13 Feb 2007 20:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-8263</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] and Fixes Jeff Zeldman publishes IE7 fix for the peek-a-boo bug 27-10-2006 to css, css bugs, ie 7, internet explorer bywalker [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[...] and Fixes Jeff Zeldman publishes IE7 fix for the peek-a-boo bug 27-10-2006 to css, css bugs, ie 7, internet explorer bywalker [...]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forum Wielotematyczne KasArt98.com</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-6711</link>
		<dc:creator>Forum Wielotematyczne KasArt98.com</dc:creator>
		<pubDate>Sun, 31 Dec 2006 13:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-6711</guid>
		<description></description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[...] /* Hides from IE5-mac */html #content {height: 1%;}/* End hide from IE5-mac */      tak jak jest to opisane tutaj: <a href="http://www.zeldman.com/2006/10/27/ie7fixes1/" rel="nofollow">http://www.zeldman.com/2006/10/27/ie7fixes1/</a>   To rzeczywi¶cie rozwi±zuje problem IE&#8230;_________________http://it.hk.pl | <a href="http://www.mnabialek.pl" rel="nofollow">http://www.mnabialek.pl</a> [...]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Hoskins</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5729</link>
		<dc:creator>Michael Hoskins</dc:creator>
		<pubDate>Fri, 01 Dec 2006 21:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5729</guid>
		<description>I, like many of the &lt;a href=&quot;http://www.456bereastreet.com/archive/200510/stop_using_css_hacks_now/&quot; rel=&quot;nofollow&quot;&gt;other &lt;/a&gt; &lt;a href=&quot;http://www.killersites.com/blog/2005/css-hacks-are-stupid/&quot; rel=&quot;nofollow&quot;&gt;people&lt;/a&gt; who take the time to read Microsoft documentation instead of being blindly enraged by their long-time lack of support for proper CSS, &lt;a href=&quot;http://verbose.pixelbath.com/2006/11/01/stop-using-css-hacks/&quot; rel=&quot;nofollow&quot;&gt;extoll the virtues of conditional comments&lt;/a&gt;.

It&#039;s ridiculous that they&#039;ve been supported since version 5 and nobody seems to want to present them as an alternative, and still complain that their hacks break in IE 7.  If you use conditional comments and specify versions in them, you future-proof your CSS against any mistakes in IE&#039;s implementation.  It allows you to far more easily and directly target naughty versions of IE.</description>
		<content:encoded><![CDATA[<p>I, like many of the <a href="http://www.456bereastreet.com/archive/200510/stop_using_css_hacks_now/" rel="nofollow">other </a> <a href="http://www.killersites.com/blog/2005/css-hacks-are-stupid/" rel="nofollow">people</a> who take the time to read Microsoft documentation instead of being blindly enraged by their long-time lack of support for proper CSS, <a href="http://verbose.pixelbath.com/2006/11/01/stop-using-css-hacks/" rel="nofollow">extoll the virtues of conditional comments</a>.</p>
<p>It&#8217;s ridiculous that they&#8217;ve been supported since version 5 and nobody seems to want to present them as an alternative, and still complain that their hacks break in IE 7.  If you use conditional comments and specify versions in them, you future-proof your CSS against any mistakes in IE&#8217;s implementation.  It allows you to far more easily and directly target naughty versions of IE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markhealey.net &#187; To you, IE7. And only you.</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5723</link>
		<dc:creator>markhealey.net &#187; To you, IE7. And only you.</dc:creator>
		<pubDate>Fri, 01 Dec 2006 18:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5723</guid>
		<description>[...] A post on Zeldman.com helped me figure this one out, and allowed me to specify rules using a modified Holly Hack. This declaration, also known as the Be Nice to Opera rule, targets Opera and Mozilla browsers, but all versions of IE skip over it, including IE7: [...]</description>
		<content:encoded><![CDATA[<p>[...] A post on Zeldman.com helped me figure this one out, and allowed me to specify rules using a modified Holly Hack. This declaration, also known as the Be Nice to Opera rule, targets Opera and Mozilla browsers, but all versions of IE skip over it, including IE7: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Layout changes in I.E 7 help - Zen Cart Support</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5713</link>
		<dc:creator>Layout changes in I.E 7 help - Zen Cart Support</dc:creator>
		<pubDate>Fri, 01 Dec 2006 14:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5713</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] Re: Layout changes in I.E 7 help     Look in your main CSS stylesheet. You have the following code:  /* Might uncomment either or both of these if having problems with IE peekaboo bug: h1, h2, h3, h4, h5, h6, p { position: relative; } *html .centerColumn { height: 1&#37;; } */   It looks like that&#039;s a hack for the peek-a-boo issue in IE which gets broken with IE7. Check out the following article for a fix:  http://www.zeldman.com/2006/10/27/ie7fixes1/  Of course, if it&#039;s already commented out...Good luck!      Last edited by Sueter : 30th November 2006 at 06:15 PM. [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[...] Re: Layout changes in I.E 7 help     Look in your main CSS stylesheet. You have the following code:  /* Might uncomment either or both of these if having problems with IE peekaboo bug: h1, h2, h3, h4, h5, h6, p { position: relative; } *html .centerColumn { height: 1&#37;; } */   It looks like that&#8217;s a hack for the peek-a-boo issue in IE which gets broken with IE7. Check out the following article for a fix:  <a href="http://www.zeldman.com/2006/10/27/ie7fixes1/" rel="nofollow">http://www.zeldman.com/2006/10/27/ie7fixes1/</a>  Of course, if it&#8217;s already commented out&#8230;Good luck!      Last edited by Sueter : 30th November 2006 at 06:15 PM. [...]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konrad</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5347</link>
		<dc:creator>Konrad</dc:creator>
		<pubDate>Wed, 22 Nov 2006 11:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5347</guid>
		<description>according to @donovan solution, IE7 won&#039;t understand so floating value for width/height as auto, at least my didn&#039;t. by applying hard value (%,em, px, etc.) especially to min-width/height i&#039;ve banished peek-a-boo
also redefiniotion of width/height with auto !important rule to make element expandable for others than ie6 seems to be fine enought</description>
		<content:encoded><![CDATA[<p>according to @donovan solution, IE7 won&#8217;t understand so floating value for width/height as auto, at least my didn&#8217;t. by applying hard value (%,em, px, etc.) especially to min-width/height i&#8217;ve banished peek-a-boo<br />
also redefiniotion of width/height with auto !important rule to make element expandable for others than ie6 seems to be fine enought</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Buchanan</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5240</link>
		<dc:creator>Ben Buchanan</dc:creator>
		<pubDate>Thu, 16 Nov 2006 22:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5240</guid>
		<description>@Jonathan Nicol: Proprietary hacks are hacks too, and the conditional comment hack isn&#039;t what I would call &quot;elegant&quot;. No other browser manufacturer tells everyone &quot;our product is so busted you&#039;ll just have to write and serve a whole extra stylesheet just to make up for it&quot;.

If only they&#039;d created a conditional comment *for CSS* I&#039;d happily use their technique since it wouldn&#039;t require maintaining double the number of stylesheets.</description>
		<content:encoded><![CDATA[<p>@Jonathan Nicol: Proprietary hacks are hacks too, and the conditional comment hack isn&#8217;t what I would call &#8220;elegant&#8221;. No other browser manufacturer tells everyone &#8220;our product is so busted you&#8217;ll just have to write and serve a whole extra stylesheet just to make up for it&#8221;.</p>
<p>If only they&#8217;d created a conditional comment *for CSS* I&#8217;d happily use their technique since it wouldn&#8217;t require maintaining double the number of stylesheets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pauldwaite</title>
		<link>http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5231</link>
		<dc:creator>pauldwaite</dc:creator>
		<pubDate>Thu, 16 Nov 2006 19:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeldman.com/2006/10/27/ie7fixes1/#comment-5231</guid>
		<description>Blimey, I&#039;ve just re-read my comment above and realised that, basically, I came onto Jeffrey Zeldman&#039;s own blog, and proceeded to give him advice about CSS.

Does anyone know any conditional comment syntax that can turn back time?</description>
		<content:encoded><![CDATA[<p>Blimey, I&#8217;ve just re-read my comment above and realised that, basically, I came onto Jeffrey Zeldman&#8217;s own blog, and proceeded to give him advice about CSS.</p>
<p>Does anyone know any conditional comment syntax that can turn back time?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
