<?xml version="1.0" encoding="utf-8"?>	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
	<channel>
		<title>Comments on: The Holy Grail CSS Layout Fix for IE7</title>
		<link>http://www.gerd-riesselmann.net/development/the-holy-grail-css-layout-fix-for-ie7</link>
		<description>Gerd Riesselmann: Notes From the Bog-All Around Objects: C++, .NET, PHP, Design Patterns And More</description>
		<language>en</language>
		<pubDate>Mon, 30 Jul 2007 16:20:42 +0200</pubDate>
		<generator>Drupal TotalFeeds Module</generator>
				<image>
			<title>Comments on: The Holy Grail CSS Layout Fix for IE7</title>
			<link>http://www.gerd-riesselmann.net/development/the-holy-grail-css-layout-fix-for-ie7</link>
			<url>http://www.gerd-riesselmann.net/images/feedbog.png</url>
						<width>130</width>
			<height>80</height>
					</image>
			<item>
		<title>Actually, no it doesn&#039;t. I</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3423</link>
		<description>Actually, no it doesn&#039;t. I just clicked the link in IE 7.0.5730.11 and no left bar showed up.</description>
		<content:encoded><![CDATA[<p>Actually, no it doesn't. I just clicked the link in IE 7.0.5730.11 and no left bar showed up.</p>
]]></content:encoded>
		<pubDate>Mon, 30 Jul 2007 16:20:42 +0200</pubDate>
		<dc:creator>Anonymous</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3423</guid>
							</item>
		<item>
		<title>The non-padded version of</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3385</link>
		<description>The &lt;a href=&quot;http://www.alistapart.com/d/holygrail/example_1.html&quot;&gt;non-padded version of Holy Grail&lt;/a&gt; (or the updated &lt;a href=&quot;http://www.infocraft.com/articles/the_case_of_the_disappearing_column/example1.html&quot;&gt;Disappearing Column version&lt;/a&gt;) does not need this kind of IE7-fix, only thing you need to do is to move the &lt;code&gt;min-width: 550px&lt;/code&gt; declaration from &lt;code&gt;body&lt;/code&gt; to &lt;code&gt;#container&lt;/code&gt;-div. As for the padded version, you can always use wrappers and add the padding you need to those divs.

This works at least in IE of version 7.0.5730.11.</description>
		<content:encoded><![CDATA[<p>The <a href="http://www.alistapart.com/d/holygrail/example_1.html">non-padded version of Holy Grail</a> (or the updated <a href="http://www.infocraft.com/articles/the_case_of_the_disappearing_column/example1.html">Disappearing Column version</a>) does not need this kind of IE7-fix, only thing you need to do is to move the <code>min-width: 550px</code> declaration from <code>body</code> to <code>#container</code>-div. As for the padded version, you can always use wrappers and add the padding you need to those divs.</p>
<p>This works at least in IE of version 7.0.5730.11.</p>
]]></content:encoded>
		<pubDate>Mon, 21 May 2007 09:59:21 +0200</pubDate>
		<dc:creator>Riku Mäkinen</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3385</guid>
							</item>
		<item>
		<title>Thanks for your work on the</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3376</link>
		<description>Thanks for your work on the fixes as it was a lifesaver.
bob</description>
		<content:encoded><![CDATA[<p>Thanks for your work on the fixes as it was a lifesaver.<br />
bob</p>
]]></content:encoded>
		<pubDate>Thu, 03 May 2007 01:36:00 +0200</pubDate>
		<dc:creator>Bob</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3376</guid>
							</item>
		<item>
		<title>Well, mine IS a &#039;working</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3371</link>
		<description>Well, mine IS a &#039;working example&#039;, although, admittedly, purists are gonna blanch at the sight of all the hacks.  :-)

Having said that, however, as outlined on http://www.mathesonbayley.com/holy_grail.php , the majority of the &#039;hacks&#039; in my code that you refer to are ONLY necessary IF you want to do some specific things (which many people will not want/need to do):

To clarify, the &#039;firefox container divs&#039; and IE conditional comments in my code are only necessary IF you have floated elements in the center column AS WELL AS more than one image in the center column OVER WHICH you wish text to appear (i.e. &#039;pseudo-background images&#039;, resolving the CSS limit of most browsers of having more than one background-image per element).
You can see those multiple background images on http://www.mathesonbayley.com in the center column (one in the top right, one in the top left, and the musical stave farther down the page).

If such multiple background images are not needed, then (again, as explained on http://www.mathesonbayley.com/holy_grail.php ), all those &#039;hacks&#039; can be ignored.

By the way, I keep putting &#039;hacks&#039; in inverted commas coz I consider these particular examples to be &#039;fixes&#039;/&#039;patches&#039; of an unavoidable nature, rather than &#039;hacks&#039; in the sense of non-future-proofed shenanigans such as the &#039;Holy hack&#039;.

Every other &#039;hack&#039; in my code has been shown to be necessary for full cross-browser compatibility by many minds far greater and more experienced than mine, and unless or until an even larger giant than those on whose shoulders we all stand comes forth with a cunning alternative, it seems to be the general consensus that this &#039;Holy Grail&#039; ain&#039;t gonna work without &#039;em.

Well, I&#039;ve always been a pragmatist, so I&#039;m perfectly happy with the results, despite my umpteen extra divs, but of course I understand that this won&#039;t be for everybody.

Ooh, my pizza just arrived...
:-)
</description>
		<content:encoded><![CDATA[<p>Well, mine IS a 'working example', although, admittedly, purists are gonna blanch at the sight of all the hacks.  :-)</p>
<p>Having said that, however, as outlined on <a href="http://www.mathesonbayley.com/holy_grail.php" title="http://www.mathesonbayley.com/holy_grail.php">http://www.mathesonbayley.com/holy_grail.php</a> , the majority of the 'hacks' in my code that you refer to are ONLY necessary IF you want to do some specific things (which many people will not want/need to do):</p>
<p>To clarify, the 'firefox container divs' and IE conditional comments in my code are only necessary IF you have floated elements in the center column AS WELL AS more than one image in the center column OVER WHICH you wish text to appear (i.e. 'pseudo-background images', resolving the CSS limit of most browsers of having more than one background-image per element).<br />
You can see those multiple background images on <a href="http://www.mathesonbayley.com" title="http://www.mathesonbayley.com">http://www.mathesonbayley.com</a> in the center column (one in the top right, one in the top left, and the musical stave farther down the page).</p>
<p>If such multiple background images are not needed, then (again, as explained on <a href="http://www.mathesonbayley.com/holy_grail.php" title="http://www.mathesonbayley.com/holy_grail.php">http://www.mathesonbayley.com/holy_grail.php</a> ), all those 'hacks' can be ignored.</p>
<p>By the way, I keep putting 'hacks' in inverted commas coz I consider these particular examples to be 'fixes'/'patches' of an unavoidable nature, rather than 'hacks' in the sense of non-future-proofed shenanigans such as the 'Holy hack'.</p>
<p>Every other 'hack' in my code has been shown to be necessary for full cross-browser compatibility by many minds far greater and more experienced than mine, and unless or until an even larger giant than those on whose shoulders we all stand comes forth with a cunning alternative, it seems to be the general consensus that this 'Holy Grail' ain't gonna work without 'em.</p>
<p>Well, I've always been a pragmatist, so I'm perfectly happy with the results, despite my umpteen extra divs, but of course I understand that this won't be for everybody.</p>
<p>Ooh, my pizza just arrived...<br />
:-)</p>
]]></content:encoded>
		<pubDate>Mon, 23 Apr 2007 15:08:01 +0200</pubDate>
		<dc:creator>Matheson Bayley</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3371</guid>
							</item>
		<item>
		<title>*STILL* no working examples</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3368</link>
		<description>*STILL* no working examples posted ??
Mathesons examples are anything but &quot;using limited hacks&quot;, its full of hacks infact.

If someone got a working version for ie7, please post !</description>
		<content:encoded><![CDATA[<p>*STILL* no working examples posted ??<br />
Mathesons examples are anything but "using limited hacks", its full of hacks infact.</p>
<p>If someone got a working version for ie7, please post !</p>
]]></content:encoded>
		<pubDate>Mon, 16 Apr 2007 23:16:05 +0200</pubDate>
		<dc:creator>Anonymous</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3368</guid>
							</item>
		<item>
		<title>&quot;The Holy Grail&quot; - all the</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3366</link>
		<description>&quot;The Holy Grail&quot; - all the fixes collated in one place...

I&#039;ve just put together a little page with all the various &#039;fixes&#039; lying around the internet for Matthew Levine&#039;s &quot;The Holy Grail&quot;, along with a few tips of my own for succesfully implemeting it in a real-life scenario.

See http://myoozikmuse.blogspot.com/ for the complete updated template, which includes, naturally, Gerd&#039;s IE7 input!

Hope it&#039;s of use to somebody. :-)

(See &lt;a href=&quot;http://www.mathesonbayley.com&quot;&gt;www.mathesonbayley.com&lt;/a&gt; or &lt;a href=&quot;http://www.indigoivories.com&quot;&gt;www.indigoivories.com&lt;/a&gt; to see the template in action)
</description>
		<content:encoded><![CDATA[<p>"The Holy Grail" - all the fixes collated in one place...</p>
<p>I've just put together a little page with all the various 'fixes' lying around the internet for Matthew Levine's "The Holy Grail", along with a few tips of my own for succesfully implemeting it in a real-life scenario.</p>
<p>See <a href="http://myoozikmuse.blogspot.com/" title="http://myoozikmuse.blogspot.com/">http://myoozikmuse.blogspot.com/</a> for the complete updated template, which includes, naturally, Gerd's IE7 input!</p>
<p>Hope it's of use to somebody. :-)</p>
<p>(See <a href="http://www.mathesonbayley.com">www.mathesonbayley.com</a> or <a href="http://www.indigoivories.com">www.indigoivories.com</a> to see the template in action)</p>
]]></content:encoded>
		<pubDate>Fri, 13 Apr 2007 23:24:15 +0200</pubDate>
		<dc:creator>Matheson Bayley</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3366</guid>
							</item>
		<item>
		<title>This solution breaks the</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3360</link>
		<description>This solution breaks the zoom feature in IE7.  Zeldman would not be happy.</description>
		<content:encoded><![CDATA[<p>This solution breaks the zoom feature in IE7.  Zeldman would not be happy.</p>
]]></content:encoded>
		<pubDate>Sat, 31 Mar 2007 16:28:58 +0200</pubDate>
		<dc:creator>Matt</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3360</guid>
							</item>
		<item>
		<title>Is there a working example</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3356</link>
		<description>Is there a working example on this site of the IE7 fix layout, or could someone be willing to send it to me? Much appreciated,
Miki</description>
		<content:encoded><![CDATA[<p>Is there a working example on this site of the IE7 fix layout, or could someone be willing to send it to me? Much appreciated,<br />
Miki</p>
]]></content:encoded>
		<pubDate>Sat, 24 Mar 2007 06:07:44 +0100</pubDate>
		<dc:creator>miki_z@hotmail.com</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3356</guid>
							</item>
		<item>
		<title>I am new at building a</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3354</link>
		<description>I am new at building a website. I don&#039;t understand why everyone wants to replace tables for CSS layout. Is it because tables load longer, and do they really? Microsoft&#039;s Hotmail page still uses tables, judging by clicking on &quot;view source.&quot; Excuse me for the novice questions, but above is stated that &quot;Comic Marktplatz&quot; website uses this CSS layout, why is it that when I richt click on &quot;view source&quot; I don&#039;t see any of the structure html, and when viewing the page it just comes out as a list?  Is this Holy Grail CSS layout free of bugs now, and if so, is there a place where it is posted in full form?  Any comments would be appreciated, thank you
miki_z@hotmail.com</description>
		<content:encoded><![CDATA[<p>I am new at building a website. I don't understand why everyone wants to replace tables for CSS layout. Is it because tables load longer, and do they really? Microsoft's Hotmail page still uses tables, judging by clicking on "view source." Excuse me for the novice questions, but above is stated that "Comic Marktplatz" website uses this CSS layout, why is it that when I richt click on "view source" I don't see any of the structure html, and when viewing the page it just comes out as a list?  Is this Holy Grail CSS layout free of bugs now, and if so, is there a place where it is posted in full form?  Any comments would be appreciated, thank you<br />
<a href="http://www.gerd-riesselmann.net/ailto:miki_z@hotmail.com">miki_z@hotmail.com</a></p>
]]></content:encoded>
		<pubDate>Fri, 23 Mar 2007 04:45:55 +0100</pubDate>
		<dc:creator>Mik</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3354</guid>
							</item>
		<item>
		<title>I just solved the footer</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3338</link>
		<description>I just solved the footer jumping problem and thought I would post this in case anyone&#039;s interested or had a similar problem:

There was an image in the right column which, when removed, made IE7 display the whole site perfectly. All the latest versions of FF, Safari, Konqueror, Opera &amp; Netscape (on all platforms) PLUS IE6 were already displaying everything with no problems, but the presence of the right-column image resulted in ONLY the header and footer displaying (the footer overlapping the header) with blank space beneath them when viewed in IE7.

Why? - Anyone&#039;s guess! The image in the right column was absolutely positioned, but no fiddling with the exact pixel values of the postioning or the z-index made any difference - it&#039;s presence still resulted in IE7 screwing up the entire layout.

Other factors: there were no floats in the right column; the image was much smaller than the width of the column; the right column, in accordance with the layout of &quot;A List Apart&#039;s Holy Grail&quot; had a negative margin. I mention this things as I can imagine them being first ports of call for debugging, but I repeat that every browser was displaying it perfectly. (No known IE7 bugs seem to fit the bill as potential culprit)

Solution: a container div for the image in the right column. Simply:

&lt;code&gt;
&lt;div&gt;
&lt;img....&gt;
&lt;/div&gt;
&lt;/code&gt;

...with no other specifications, and as if by magic, IE7 was brought back into line!

If someone has a theory, I beg of you to post it here, as I&#039;m dying of curiosity. Why on earth would wrapping the img in a div make such a difference in IE7?

Anyway, I&#039;m happy - my site is now cross-browser compatible (as long as we don&#039;t venture into the ungodly realms of IE5.5!)   :-)

Take a look:  http://www.mathesonbayley.com/</description>
		<content:encoded><![CDATA[<p>I just solved the footer jumping problem and thought I would post this in case anyone's interested or had a similar problem:</p>
<p>There was an image in the right column which, when removed, made IE7 display the whole site perfectly. All the latest versions of FF, Safari, Konqueror, Opera &amp; Netscape (on all platforms) PLUS IE6 were already displaying everything with no problems, but the presence of the right-column image resulted in ONLY the header and footer displaying (the footer overlapping the header) with blank space beneath them when viewed in IE7.</p>
<p>Why? - Anyone's guess! The image in the right column was absolutely positioned, but no fiddling with the exact pixel values of the postioning or the z-index made any difference - it's presence still resulted in IE7 screwing up the entire layout.</p>
<p>Other factors: there were no floats in the right column; the image was much smaller than the width of the column; the right column, in accordance with the layout of "A List Apart's Holy Grail" had a negative margin. I mention this things as I can imagine them being first ports of call for debugging, but I repeat that every browser was displaying it perfectly. (No known IE7 bugs seem to fit the bill as potential culprit)</p>
<p>Solution: a container div for the image in the right column. Simply:</p>
<p><code> &lt;div&gt; &lt;img....&gt; &lt;/div&gt; </code></p>
<p>...with no other specifications, and as if by magic, IE7 was brought back into line!</p>
<p>If someone has a theory, I beg of you to post it here, as I'm dying of curiosity. Why on earth would wrapping the img in a div make such a difference in IE7?</p>
<p>Anyway, I'm happy - my site is now cross-browser compatible (as long as we don't venture into the ungodly realms of IE5.5!)   :-)</p>
<p>Take a look:  <a href="http://www.mathesonbayley.com/" title="http://www.mathesonbayley.com/">http://www.mathesonbayley.com/</a></p>
]]></content:encoded>
		<pubDate>Sun, 04 Mar 2007 12:59:29 +0100</pubDate>
		<dc:creator>fructose</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3338</guid>
							</item>
		<item>
		<title>You saved my life wth this</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3337</link>
		<description>You saved my life wth this fix - thanks.
(If only it were possible without javascript!)

I had another problem with IE7, however, which I&#039;ve been trying to understand... the footer jumps up to the top of the screen covering the header, and nothing else is displayed beneath it.

I&#039;ve been experimenting endlessly and have no ideas left. Why would IE7 do this despite its working in every other modern browser?

Theories?

</description>
		<content:encoded><![CDATA[<p>You saved my life wth this fix - thanks.<br />
(If only it were possible without javascript!)</p>
<p>I had another problem with IE7, however, which I've been trying to understand... the footer jumps up to the top of the screen covering the header, and nothing else is displayed beneath it.</p>
<p>I've been experimenting endlessly and have no ideas left. Why would IE7 do this despite its working in every other modern browser?</p>
<p>Theories?</p>
]]></content:encoded>
		<pubDate>Sat, 03 Mar 2007 19:16:31 +0100</pubDate>
		<dc:creator>fructose</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3337</guid>
							</item>
		<item>
		<title>I found that the version</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3330</link>
		<description>I found that the version that did away with the extra container -- the version at the bottom of the original article -- did not have the IE7 missing-left-column problem.
</description>
		<content:encoded><![CDATA[<p>I found that the version that did away with the extra container -- the version at the bottom of the original article -- did not have the IE7 missing-left-column problem.</p>
]]></content:encoded>
		<pubDate>Sun, 25 Feb 2007 10:41:00 +0100</pubDate>
		<dc:creator>Anonymous</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3330</guid>
							</item>
		<item>
		<title>Hey, thanks a lot for this</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3308</link>
		<description>Hey, thanks a lot for this fix!
I have it up and running, but with a small problem: the left padding on the left column is different in Mozilla than in IE7 (-_-#)

You can check in http://www.adeptos.org

If I use this expression:
&lt;code&gt;
#container &gt; #left {
left: -210px;
margin-left: expression(...);
}
&lt;/code&gt;
It looks good in Mozilla but wrong in IE7. All the opposite if I do this:
&lt;code&gt;
#container &gt; #left {
left: -220px;
margin-left: expression(...);
}
&lt;/code&gt;
Any good ideas out there?

</description>
		<content:encoded><![CDATA[<p>Hey, thanks a lot for this fix!<br />
I have it up and running, but with a small problem: the left padding on the left column is different in Mozilla than in IE7 (-_-#)</p>
<p>You can check in <a href="http://www.adeptos.org" title="http://www.adeptos.org">http://www.adeptos.org</a></p>
<p>If I use this expression:<br />
<code> #container &gt; #left { left: -210px; margin-left: expression(...); } </code><br />
It looks good in Mozilla but wrong in IE7. All the opposite if I do this:<br />
<code> #container &gt; #left { left: -220px; margin-left: expression(...); } </code><br />
Any good ideas out there?</p>
]]></content:encoded>
		<pubDate>Fri, 02 Feb 2007 06:07:59 +0100</pubDate>
		<dc:creator>Locke</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3308</guid>
							</item>
		<item>
		<title>Hey thanks!
I&#039;ve got it</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3305</link>
		<description>Hey thanks!

I&#039;ve got it working at http://www.yarks.com - woo hoo!  Was a little worried when my client called and said, &quot;um, the entire navigational column is missing.&quot;  This was easy and works perfectly!

Andi
Big Sea Design</description>
		<content:encoded><![CDATA[<p>Hey thanks!</p>
<p>I've got it working at <a href="http://www.yarks.com" title="http://www.yarks.com">http://www.yarks.com</a> - woo hoo!  Was a little worried when my client called and said, "um, the entire navigational column is missing."  This was easy and works perfectly!</p>
<p>Andi<br />
Big Sea Design</p>
]]></content:encoded>
		<pubDate>Mon, 29 Jan 2007 22:28:48 +0100</pubDate>
		<dc:creator>BigSea</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3305</guid>
							</item>
		<item>
		<title>Fixed !
Visit</title>
		<link>http://www.gerd-riesselmann.net/node/136%2523comment-3301</link>
		<description>Fixed !

Visit http://alistapart.com/comments/holygrail/?page=22 - lot&#039;s of good stuff there</description>
		<content:encoded><![CDATA[<p>Fixed !</p>
<p>Visit <a href="http://alistapart.com/comments/holygrail/?page=22" title="http://alistapart.com/comments/holygrail/?page=22">http://alistapart.com/comments/holygrail/?page=22</a> - lot's of good stuff there</p>
]]></content:encoded>
		<pubDate>Fri, 19 Jan 2007 19:47:50 +0100</pubDate>
		<dc:creator>John</dc:creator>
		<guid isPermaLink="true">http://www.gerd-riesselmann.net/node/136%2523comment-3301</guid>
							</item>
		</channel>
	</rss>
	