<?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: Div Class Clear &#8211; Without the Markup</title>
	<atom:link href="http://www.latentmotion.com/div-class-clear-without-the-markup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.latentmotion.com/div-class-clear-without-the-markup/</link>
	<description>Usability, Design and Front-Side Programming</description>
	<lastBuildDate>Thu, 02 Feb 2012 00:25:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Brett Barros</title>
		<link>http://www.latentmotion.com/div-class-clear-without-the-markup/comment-page-1/#comment-100</link>
		<dc:creator>Brett Barros</dc:creator>
		<pubDate>Tue, 05 Jan 2010 20:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=302#comment-100</guid>
		<description>I&#039;ve used this method with some success. Setting aside the times it hasn&#039;t worked (maybe javascript / dynamic elements related?), I find that this still forces a manual manipulation of the code to make floats work. Needless to say, that&#039;s less than ideal.</description>
		<content:encoded><![CDATA[<p>I&#39;ve used this method with some success. Setting aside the times it hasn&#39;t worked (maybe javascript / dynamic elements related?), I find that this still forces a manual manipulation of the code to make floats work. Needless to say, that&#39;s less than ideal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://www.latentmotion.com/div-class-clear-without-the-markup/comment-page-1/#comment-99</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Tue, 05 Jan 2010 18:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=302#comment-99</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;There&#039;s a very clean way to deal with float elements and stretching the parent&#039;s background. I don&#039;t know why this is not commonly used/known. It&#039;s just THE good way to do, and I can&#039;t imagine going back to stupid solutions like &quot;Div Class Clear&quot; (I never liked this HTML barbarians method).&lt;br&gt;&lt;br&gt;The solution is really simple : just add a &quot;overflow: hidden&quot; property to the parent element. That&#039;s all. And it works for all browsers !&lt;br&gt;Of course to have this working, the parent element must have &quot;height: auto&quot; (default value, so no height declared is ok) at least, or the element won&#039;t adapt it&#039;s height.&lt;br&gt;&lt;br&gt;When you think about it, in fact this comportment is logical. You say the parent won&#039;t let his children overflow, than it manage to do so. And when elements are floating it&#039;s logical they stay visible, so the parent adapt it&#039;s height to include all floating children.&lt;br&gt;&lt;br&gt;The overflow property is not known enough, and that&#039;s sad because it&#039;s really very powerful when you know how to use it. specially when you use floating elements.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Nico</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>There&#39;s a very clean way to deal with float elements and stretching the parent&#39;s background. I don&#39;t know why this is not commonly used/known. It&#39;s just THE good way to do, and I can&#39;t imagine going back to stupid solutions like &#8220;Div Class Clear&#8221; (I never liked this HTML barbarians method).</p>
<p>The solution is really simple : just add a &#8220;overflow: hidden&#8221; property to the parent element. That&#39;s all. And it works for all browsers !<br />Of course to have this working, the parent element must have &#8220;height: auto&#8221; (default value, so no height declared is ok) at least, or the element won&#39;t adapt it&#39;s height.</p>
<p>When you think about it, in fact this comportment is logical. You say the parent won&#39;t let his children overflow, than it manage to do so. And when elements are floating it&#39;s logical they stay visible, so the parent adapt it&#39;s height to include all floating children.</p>
<p>The overflow property is not known enough, and that&#39;s sad because it&#39;s really very powerful when you know how to use it. specially when you use floating elements.</p>
<p>Regards,</p>
<p>Nico</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Barros</title>
		<link>http://www.latentmotion.com/div-class-clear-without-the-markup/comment-page-1/#comment-86</link>
		<dc:creator>Brett Barros</dc:creator>
		<pubDate>Tue, 05 Jan 2010 14:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=302#comment-86</guid>
		<description>I&#039;ve used this method with some success. Setting aside the times it hasn&#039;t worked (maybe javascript / dynamic elements related?), I find that this still forces a manual manipulation of the code to make floats work. Needless to say, that&#039;s less than ideal.</description>
		<content:encoded><![CDATA[<p>I&#39;ve used this method with some success. Setting aside the times it hasn&#39;t worked (maybe javascript / dynamic elements related?), I find that this still forces a manual manipulation of the code to make floats work. Needless to say, that&#39;s less than ideal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://www.latentmotion.com/div-class-clear-without-the-markup/comment-page-1/#comment-85</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Tue, 05 Jan 2010 12:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=302#comment-85</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;There&#039;s a very clean way to deal with float elements and stretching the parent&#039;s background. I don&#039;t know why this is not commonly used/known. It&#039;s just THE good way to do, and I can&#039;t imagine going back to stupid solutions like &quot;Div Class Clear&quot; (I never liked this HTML barbarians method).&lt;br&gt;&lt;br&gt;The solution is really simple : just add a &quot;overflow: hidden&quot; property to the parent element. That&#039;s all. And it works for all browsers !&lt;br&gt;Of course to have this working, the parent element must have &quot;height: auto&quot; (default value, so no height declared is ok) at least, or the element won&#039;t adapt it&#039;s height.&lt;br&gt;&lt;br&gt;When you think about it, in fact this comportment is logical. You say the parent won&#039;t let his children overflow, than it manage to do so. And when elements are floating it&#039;s logical they stay visible, so the parent adapt it&#039;s height to include all floating children.&lt;br&gt;&lt;br&gt;The overflow property is not known enough, and that&#039;s sad because it&#039;s really very powerful when you know how to use it. specially when you use floating elements.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Nico</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>There&#39;s a very clean way to deal with float elements and stretching the parent&#39;s background. I don&#39;t know why this is not commonly used/known. It&#39;s just THE good way to do, and I can&#39;t imagine going back to stupid solutions like &#8220;Div Class Clear&#8221; (I never liked this HTML barbarians method).</p>
<p>The solution is really simple : just add a &#8220;overflow: hidden&#8221; property to the parent element. That&#39;s all. And it works for all browsers !<br />Of course to have this working, the parent element must have &#8220;height: auto&#8221; (default value, so no height declared is ok) at least, or the element won&#39;t adapt it&#39;s height.</p>
<p>When you think about it, in fact this comportment is logical. You say the parent won&#39;t let his children overflow, than it manage to do so. And when elements are floating it&#39;s logical they stay visible, so the parent adapt it&#39;s height to include all floating children.</p>
<p>The overflow property is not known enough, and that&#39;s sad because it&#39;s really very powerful when you know how to use it. specially when you use floating elements.</p>
<p>Regards,</p>
<p>Nico</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.latentmotion.com/div-class-clear-without-the-markup/comment-page-1/#comment-66</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 01 Dec 2009 12:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=302#comment-66</guid>
		<description>I always use the div clear to stretch background to end of content. Great piece of code.</description>
		<content:encoded><![CDATA[<p>I always use the div clear to stretch background to end of content. Great piece of code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

