<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lifecoding.com Blog &#187; CSS</title>
	<atom:link href="http://lifecoding.com/blog/index.php/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifecoding.com/blog</link>
	<description>(define (life-coding life code) (organize life (using code)))</description>
	<lastBuildDate>Wed, 11 Jun 2008 03:29:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Tip</title>
		<link>http://lifecoding.com/blog/2006/06/05/css-tip/</link>
		<comments>http://lifecoding.com/blog/2006/06/05/css-tip/#comments</comments>
		<pubDate>Mon, 05 Jun 2006 15:13:37 +0000</pubDate>
		<dc:creator>Trotter Cashion</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://lifecoding.com/blog/?p=28</guid>
		<description><![CDATA[Well, this is basic css, but I&#8217;ll throw it up here for those of you that don&#8217;t know or have forgotten (I managed to forget the other day). If you have an element with &#8216;float: left&#8217; or &#8216;float: right&#8217; inside a div, the div will not be tall enough to hold the floated element. Look:

I [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this is basic css, but I&#8217;ll throw it up here for those of you that don&#8217;t know or have forgotten (I managed to forget the other day). If you have an element with &#8216;float: left&#8217; or &#8216;float: right&#8217; inside a div, the div will not be tall enough to hold the floated element. Look:</p>
<div>
<p style="float:left;width: 150px;">I am crazy floating text.  Watch out for me because I am so crazy.  I will kill any and all layouts near me.  Hear me roar!</p>
<p>I am the cool words to the right.</p>
</div>
<p>I am broken! I should be below the text that is to my left.</p>
<p><br style="clear:both" /><br />
As you can see, the code above is definitely broken. To fix this problem, we need only insert a &#60;br style=&#34;clear:both;&#34; /&#62 at the bottom of the div.  Look now:</p>
<div>
<p style="float:left;width: 150px;">I am crazy floating text.  Watch out for me because I am so crazy.  I will kill any and all layouts near me.  Hear me roar!</p>
<p>I am the cool words to the right.</p>
<p>  <br style="clear:both;" />
</div>
<p>I am fixed! The crazy floating text plagues me no more.</p>
]]></content:encoded>
			<wfw:commentRss>http://lifecoding.com/blog/2006/06/05/css-tip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

