<?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>csslearn.com &#187; CSS box model</title>
	<atom:link href="http://csslearn.com/tag/css-box-model/feed" rel="self" type="application/rss+xml" />
	<link>http://csslearn.com</link>
	<description>learn style with style</description>
	<lastBuildDate>Mon, 01 Mar 2010 02:17:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The CSS box model explained</title>
		<link>http://csslearn.com/the-css-box-model-explained</link>
		<comments>http://csslearn.com/the-css-box-model-explained#comments</comments>
		<pubDate>Tue, 24 Nov 2009 18:34:08 +0000</pubDate>
		<dc:creator>kunal</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[CSS box model]]></category>

		<guid isPermaLink="false">http://csslearn.com/?p=32</guid>
		<description><![CDATA[The box model is something every designer working with CSS needs a full understanding of, in order to know how elements interact with each other and also how various properties affect an element. Essentially, each element in CSS is surrounded by a box whose dimensions are automated depending on the content. By using width and [...]


Related posts:<ol><li><a href='http://csslearn.com/using-property-values' rel='bookmark' title='Permanent Link: Using Property Values'>Using Property Values</a> <small>Property values come in the following forms: constant text, constant...</small></li>
<li><a href='http://csslearn.com/list-margins-and-padding' rel='bookmark' title='Permanent Link: List margins and padding'>List margins and padding</a> <small>Browsers don’t seem to be able to agree on how...</small></li>
<li><a href='http://csslearn.com/using-shorthand-properties-in-css' rel='bookmark' title='Permanent Link: Using Shorthand Properties in CSS'>Using Shorthand Properties in CSS</a> <small>Your body rule should now look like this: body {...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The box model is something every designer working with CSS needs a full understanding of, in order to know how elements interact with each other and also how various properties affect an element. Essentially, each element in CSS is surrounded by a box whose dimensions are automated depending on the content. By using width and height properties<br />
in CSS, these dimensions can be defined in a specific manner. You can set padding to surround the content and add a border and margins to the box. A background image and background color can also be defined. Any background image or color is visible behind the content and padding, but not the margin. The effective space an element takes up is the sum of the box dimensions (which effectively define the available dimensions for the box’s contents), padding, border, and margins. Therefore, a 500-pixelwide box with 20 pixels of padding at each side and a 5-pixel border will actually take up 550 pixels of horizontal space (5 + 20 + 500 + 20 + 5).</p>
<p><strong><em>Note that in some cases, margins between two elements “collapse,” leading to only the larger margin value being used.</em></strong></p>
<p><strong><em><br />
</em></strong></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fcsslearn.com%2Fthe-css-box-model-explained&amp;linkname=The%20CSS%20box%20model%20explained"><img src="http://csslearn.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://csslearn.com/using-property-values' rel='bookmark' title='Permanent Link: Using Property Values'>Using Property Values</a> <small>Property values come in the following forms: constant text, constant...</small></li>
<li><a href='http://csslearn.com/list-margins-and-padding' rel='bookmark' title='Permanent Link: List margins and padding'>List margins and padding</a> <small>Browsers don’t seem to be able to agree on how...</small></li>
<li><a href='http://csslearn.com/using-shorthand-properties-in-css' rel='bookmark' title='Permanent Link: Using Shorthand Properties in CSS'>Using Shorthand Properties in CSS</a> <small>Your body rule should now look like this: body {...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://csslearn.com/the-css-box-model-explained/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
