<?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: Faux Columns</title>
	<atom:link href="http://mattsnider.com/architecture/faux-columns/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattsnider.com/architecture/faux-columns/</link>
	<description>Understanding JavaScript and Frameworks</description>
	<pubDate>Tue, 06 Jan 2009 15:43:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kravvitz</title>
		<link>http://mattsnider.com/architecture/faux-columns/comment-page-1/#comment-3658</link>
		<dc:creator>Kravvitz</dc:creator>
		<pubDate>Mon, 21 Jan 2008 23:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/architecture/faux-columns/#comment-3658</guid>
		<description>Not quite. Normally the clearfix class would be applied to the parent of the floated element(s), which in this case is #main.

In case anyone is unfamiliar with the PIE/Aslett clearfix technique, here are the two main articles about it:
&lt;a href="http://www.csscreator.com/attributes/containedfloat.php" rel="nofollow"&gt;Contained Floats&lt;/a&gt;
&lt;a href="http://www.positioniseverything.net/easyclearing.html" rel="nofollow"&gt;How To Clear Floats Without Structural Markup&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Not quite. Normally the clearfix class would be applied to the parent of the floated element(s), which in this case is #main.</p>
<p>In case anyone is unfamiliar with the PIE/Aslett clearfix technique, here are the two main articles about it:<br />
<a href="http://www.csscreator.com/attributes/containedfloat.php" rel="nofollow">Contained Floats</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html" rel="nofollow">How To Clear Floats Without Structural Markup</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://mattsnider.com/architecture/faux-columns/comment-page-1/#comment-3656</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 21 Jan 2008 23:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/architecture/faux-columns/#comment-3656</guid>
		<description>Krawitz,

You are right, the PIE/Aslett clearfix, should be added onto the last element in the "main" div (in this case, the "content" div). However, I was having difficulty getting it to work right in all browsers, so I stopped released what was working. 

And yes, footer can be moved into the "main" div with a "clear:both" style applied. The "background" of "footer" will cover the column "background" applied to the "main" div, so you could use:

â€¦
&#60;body&#62;&#60;div id=â€docâ€&#62;
	&#60;div id=â€headerâ€&#62;This is my header&#60;/div&#62;
	&#60;div id=â€mainâ€&#62;
		&#60;div id=â€sidebarâ€&#62;Put sidebar elements here&#60;/div&#62;
		&#60;div id=â€contentâ€&#62;Put content elements here&#60;/div&#62;
		&#60;div id=â€footerâ€&#62;This is my footer&#60;/div&#62;
	&#60;/div&#62;
&#60;/div&#62;&#60;/body&#62;
â€¦</description>
		<content:encoded><![CDATA[<p>Krawitz,</p>
<p>You are right, the PIE/Aslett clearfix, should be added onto the last element in the &#8220;main&#8221; div (in this case, the &#8220;content&#8221; div). However, I was having difficulty getting it to work right in all browsers, so I stopped released what was working. </p>
<p>And yes, footer can be moved into the &#8220;main&#8221; div with a &#8220;clear:both&#8221; style applied. The &#8220;background&#8221; of &#8220;footer&#8221; will cover the column &#8220;background&#8221; applied to the &#8220;main&#8221; div, so you could use:</p>
<p>â€¦<br />
&lt;body&gt;&lt;div id=â€docâ€&gt;<br />
	&lt;div id=â€headerâ€&gt;This is my header&lt;/div&gt;<br />
	&lt;div id=â€mainâ€&gt;<br />
		&lt;div id=â€sidebarâ€&gt;Put sidebar elements here&lt;/div&gt;<br />
		&lt;div id=â€contentâ€&gt;Put content elements here&lt;/div&gt;<br />
		&lt;div id=â€footerâ€&gt;This is my footer&lt;/div&gt;<br />
	&lt;/div&gt;<br />
&lt;/div&gt;&lt;/body&gt;<br />
â€¦</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kravvitz</title>
		<link>http://mattsnider.com/architecture/faux-columns/comment-page-1/#comment-3650</link>
		<dc:creator>Kravvitz</dc:creator>
		<pubDate>Mon, 21 Jan 2008 23:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/architecture/faux-columns/#comment-3650</guid>
		<description>Matt, the point of the PIE/Aslett clearfix technique is to allow you to be able to clear elements without adding an extra element for clearing. (And why did you leave out part of the CSS for that technique?)

You don't even need it here. Simply move #footer inside #main. (You already gave #footer a background-color which would be needed if you hadn't.)</description>
		<content:encoded><![CDATA[<p>Matt, the point of the PIE/Aslett clearfix technique is to allow you to be able to clear elements without adding an extra element for clearing. (And why did you leave out part of the CSS for that technique?)</p>
<p>You don&#8217;t even need it here. Simply move #footer inside #main. (You already gave #footer a background-color which would be needed if you hadn&#8217;t.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://mattsnider.com/architecture/faux-columns/comment-page-1/#comment-2553</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 02 Jan 2008 07:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/architecture/faux-columns/#comment-2553</guid>
		<description>Happy New Year to you as well. 

I am excited to have an international audience ^_^.</description>
		<content:encoded><![CDATA[<p>Happy New Year to you as well. </p>
<p>I am excited to have an international audience ^_^.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the DtTvB</title>
		<link>http://mattsnider.com/architecture/faux-columns/comment-page-1/#comment-2477</link>
		<dc:creator>the DtTvB</dc:creator>
		<pubDate>Tue, 01 Jan 2008 03:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/architecture/faux-columns/#comment-2477</guid>
		<description>Oops, it is new year on my country (Thailand), about 3 hours and 20 minutes on yours.

:P</description>
		<content:encoded><![CDATA[<p>Oops, it is new year on my country (Thailand), about 3 hours and 20 minutes on yours.</p>
<p> <img src='http://mattsnider.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the DtTvB</title>
		<link>http://mattsnider.com/architecture/faux-columns/comment-page-1/#comment-2475</link>
		<dc:creator>the DtTvB</dc:creator>
		<pubDate>Tue, 01 Jan 2008 03:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/architecture/faux-columns/#comment-2475</guid>
		<description>Another nice article. I saw a lot of Faux columns on a lot of websites. But I think that the content should have the background color also. That way the content will show correctly when the image is not completely loaded.

I saw a lot of WordPress themes that doesn't specify a background color on light sections, it makes the text unreadable when the image isn't loaded completely, or when user disabled image displaying.

By the way,
&lt;strong&gt;Happy New Year!&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Another nice article. I saw a lot of Faux columns on a lot of websites. But I think that the content should have the background color also. That way the content will show correctly when the image is not completely loaded.</p>
<p>I saw a lot of WordPress themes that doesn&#8217;t specify a background color on light sections, it makes the text unreadable when the image isn&#8217;t loaded completely, or when user disabled image displaying.</p>
<p>By the way,<br />
<strong>Happy New Year!</strong></p>
]]></content:encoded>
	</item>
</channel>
</rss>
