<?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>Cascading Style Sheets Syntax &#187; css margin</title>
	<atom:link href="http://csssyntax.com/tag/css-margin/feed" rel="self" type="application/rss+xml" />
	<link>http://csssyntax.com</link>
	<description>CSS BASIC REFERENCE</description>
	<lastBuildDate>Sat, 31 Jul 2010 08:26:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS Margin</title>
		<link>http://csssyntax.com/css-margin.html</link>
		<comments>http://csssyntax.com/css-margin.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 04:23:48 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[css margin]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=186</guid>
		<description><![CDATA[The CSS margin properties define the space around elements]]></description>
			<content:encoded><![CDATA[<p>The <strong>CSS margin</strong> properties define the space around elements.<br />
The margin clears an area around an element <span style="color: #ff0000;"><strong>(outside the border)</strong></span>. The margin does not have a <span style="color: #800080;"><span style="text-decoration: line-through;"><strong>background color</strong></span></span>, and is completely <strong>transparent.</strong></p>
<p><strong>The top, right, bottom, and left margin</strong> can be changed independently using separate properties. A shorthand <strong>margin</strong> property can also be used, to change all margins at once.</p>
<p>1.</p>
<blockquote><p>div#sidebox { margin:10px;  }</p></blockquote>
<p>Code above shows that the four sides of the selector sidebox is 10 pixels between the <strong>border</strong> and the <strong>selector.</strong></p>
<p>2.</p>
<blockquote><p>div#sidebox { margin:10px 20px; }</p></blockquote>
<p>Code above shows that the upper and lower limits of the sidebox selector is 10 pixels while the <strong>left</strong> and <strong>right borders</strong> within 20 pixels.</p>
<p>3.</p>
<blockquote><p>div#sidebox { margin:10px 20px 30px 40px; }</p></blockquote>
<p>or it could be way below:</p>
<blockquote><p>div#sidebox { margin-top:10px; margin-right:20px;<br />
margin-bottom:30px; margin-left:40px;}</p></blockquote>
<p>Code above shows that the upper limit of the <strong>selector</strong> is 10 pixels sidebox, right limit is 20 pixels, the lower threshold is 30px and 40px is the left boundary.</p>
<p>4.</p>
<blockquote><p>div#sidebox {margin-top:10px;}</p></blockquote>
<p>Code above shows that the upper limit of sidebox selector is 10 pixels while the other boundary Default value. And other than <em><strong>margin-top</strong></em>, also can be with property <em><strong>margin-right, margin-bottom</strong> and <strong>margin-left.</strong></em></p>
<p>Besides using <strong>px</strong> units <strong>(pixels)</strong> can also be a unit <strong>emphasis (em)</strong> or <strong>percentages (%)</strong>, as an example:</p>
<blockquote><p>div#sidebox {margin:1em 2%; }</p></blockquote>
<p>The result? &#8230;<br />
You can do experiments and test yourself on your browser. that way you will make the game more challenging.</p>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/css-margin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Css basic format</title>
		<link>http://csssyntax.com/css-basic-format.html</link>
		<comments>http://csssyntax.com/css-basic-format.html#comments</comments>
		<pubDate>Wed, 16 Sep 2009 05:45:44 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[css border]]></category>
		<category><![CDATA[css content]]></category>
		<category><![CDATA[css format]]></category>
		<category><![CDATA[css margin]]></category>
		<category><![CDATA[css padding]]></category>
		<category><![CDATA[css style]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=34</guid>
		<description><![CDATA[An important part of the css is margin padding border how to set?]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration: underline;">What is the basic css formatting?</span></h3>
<p>If you look really carefully <strong>HTML</strong> translation results in the browser is shaped box, inside the box can be divided into several areas such as <strong>Content, Padding, Border, and Margin</strong>.</p>
<p>From each of these areas can be formatted by using <a href="http://csssyntax.com/css-syntax.html" target="_blank">CSS style</a>.</p>
<p>To clarify what the above of <strong>CSS format</strong>, see the illustration below:<br />
<a href="http://csssyntax.com/wp-content/uploads/2009/09/css-box-model.png"><img class="aligncenter size-full wp-image-583" title="css-box-model" src="http://csssyntax.com/wp-content/uploads/2009/09/css-box-model.png" alt="css box style" width="277" height="207" /></a><br />
Description:</p>
<ul>
<li>In the most central area called the <strong>Content,</strong><br />
Content can be either text or image, is also a combination of Text and Image.</li>
<li><strong>Padding,</strong> Padding separates content with the Border.</li>
<li>Outside Padding, called the <strong>Border</strong>,<br />
Border is the line than the content in between the padding and margins.</li>
<li>The most outer area called the <strong>Margin,</strong><br />
The margin between the border and separates the outer side.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/css-basic-format.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
