<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.6" -->
<rss version="0.92">
<channel>
	<title>LUXE WEB MEDIA &#124; Freelance Web Design &#38; Development</title>
	<link>http://www.luxewebmedia.com</link>
	<description>Freelance Web Design &#38; Development</description>
	<lastBuildDate>Thu, 08 Jul 2010 21:48:30 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>CSS Floated Div Elements and Container Height</title>
		<description>You may be used to using a div container to center-align floated elements. This is a common practice for me-- you set the container width and the right/left margins to auto. See the example below:

XHTML Markup
&#60;div id="container"&#62;
&#60;div id="floated_left_inner_element"&#62;&#60;/div&#62;
&#60;div id="floated_right_inner_element"&#62;&#60;/div&#62;
&#60;/div&#62;



CSS

#container {
width:900px;
margin-right:auto;
margin-left:auto;
background-color:#CCCCCC;
}

#floated_left_inner_element{
width:350px;
float:left;
}

#floated_right_inner_element{
width:550px;
float:right;
}

However, you may have noticed that the container height, and thus ...</description>
		<link>http://www.luxewebmedia.com/2010/07/08/css-floated-div-elements-and-container-height/</link>
			</item>
</channel>
</rss>
