<?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 Basic</title>
	<atom:link href="http://csssyntax.com/category/css-basic/feed" rel="self" type="application/rss+xml" />
	<link>http://csssyntax.com</link>
	<description>CSS BASIC REFERENCE</description>
	<lastBuildDate>Fri, 30 Jul 2010 01:37:24 +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>How to set Padding with CSS</title>
		<link>http://csssyntax.com/how-to-set-padding-with-css.html</link>
		<comments>http://csssyntax.com/how-to-set-padding-with-css.html#comments</comments>
		<pubDate>Tue, 05 Jan 2010 06:30:36 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[css style]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=339</guid>
		<description><![CDATA[is a function to set the distance between the border with content on an HTML element.]]></description>
			<content:encoded><![CDATA[<p><strong>Padding</strong> Property, is a function to set the distance between the border with content on an HTML element.<br />
Css padding at crucial point in terms of making web pages, so instead I suggest that you really notice this css syntax.</p>
<p><span id="more-339"></span></p>
<p>In writing of the padding property, almost equal to the <a href="http://csssyntax.com/css-margin.html"><strong>margin property</strong></a> in writing</p>
<p>Look <strong>Examples</strong> in below :</p>
<p>1.</p>
<blockquote><p>div#sidebox {padding:10px;}</p></blockquote>
<p>Its purpose is to show that the four sides of the selector sidebox are spaced 10 pixels between the <strong>border </strong>and <strong>content</strong>.</p>
<p>2.</p>
<blockquote><p>div#sidebox {padding:10px 20px;}</p></blockquote>
<p>Intent of the code above is to show that the distance between <strong>border</strong> and <strong>content</strong> on the top and <strong>bottom</strong> of the selector sidebox is 10 pixels while on the left and right is 20 pixels.</p>
<p>3.</p>
<blockquote><p>div#sidebox {padding:10px 20px 30px 40px;}</p></blockquote>
<p>or it could be way below:</p>
<blockquote>
<p style="text-align: left;">div#sidebox {padding-top:10px; padding-right:20px;<br />
padding-bottom:30px; padding-left:40px;}</p>
</blockquote>
<p>Intent of the code above is to show that the distance between <strong>border</strong> and <strong>content</strong> of the selector sidebox on the top 10 pixels, right 20 pixels, 30 pixels down, and the left is 40 pixels.</p>
<p>4.</p>
<blockquote><p>div#sidebox {padding-top:10px;}</p></blockquote>
<p>Intent of the code above is to show that the distance from the <strong>border</strong> with the <strong>content selector</strong> sidebox on the top is 10 pixels, while others limit Default value. And besides padding-top, also with the property padding-right, <strong>padding-bottom</strong> and <strong>padding-left</strong>.</p>
<p>In addition to the units of px <strong>(pixels) </strong>can also be a unit <strong>emphasis</strong> (em) or <strong>percentages</strong> (%), as an example:</p>
<blockquote><p>div#sidebox {padding:1em 2%;}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/how-to-set-padding-with-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 Background</title>
		<link>http://csssyntax.com/css-background.html</link>
		<comments>http://csssyntax.com/css-background.html#comments</comments>
		<pubDate>Wed, 07 Oct 2009 09:40:18 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[css style]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=171</guid>
		<description><![CDATA[Background property is to create the background effect on an HTML element.]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration: underline;">What Does CSS Background ?</span></h3>
<p><strong>Background property</strong> is to create the background effect on an HTML element.</p>
<p>CSS properties used for background effects: background-color, background-image, background-repeat,background-attachment, background-position.</p>
<p>There are several kinds of properties on the following <strong>background</strong>,</p>
<p>Look <strong>Examples</strong> in below:</p>
<ul>
<li><strong>Background Color</strong>, is to set the background of an element with a solid color.<br />
Example:</li>
</ul>
<p><span id="more-171"></span></p>
<pre class="brush:css">h1 {
   background-color:#FFFFFF;
   }</pre>
<ul>
<li><strong>Background Image</strong>, is to set the background of an element with the image.<br />
Example:</li>
</ul>
<pre class="brush:css">h1 {
   background-image: url(nama-gambar.gif);
   }</pre>
<ul>
<li><strong>Background Repeat</strong>, is to set the background of an element with an image that can be repeated or not.<br />
Example:</li>
</ul>
<pre class="brush:css">h1 {
   background-image: url(your-Picture.gif);
   background-repeat: no-repeat;
   }</pre>
<p>other than <em><strong>no-repeat</strong></em> also, the value can be <em><strong>inherit, repeat, repeat-x</strong> and <strong>repeat-y</strong>.</em><br />
Try one by one to see the effect happen!.</p>
<ul>
<li><strong>Background Attachment</strong>, is to set the background of an element with a picture, if can be scroll or not.<br />
Example:</li>
</ul>
<pre class="brush:css">h1 {
   background-image: url(nama-gambar.gif);
   background-attachment: fixed;
   }</pre>
<p>Other than <em><strong>fixed</strong></em> also, the value can be <em><strong>inherit</strong> and <strong>scroll</strong></em><br />
Try one by one to see the effect happen!.</p>
<ul>
<li><strong>Background Position</strong>, is to set the location / position of a background picture element.<br />
Example:</li>
</ul>
<pre class="brush:css">h1 {
   background-image: url(nama-gambar.gif);
   background-repeat: no-repeat;
   background-position: top;
   }</pre>
<p>Other than <em><strong>top</strong></em> also, the value can be <em><strong>inherit, center, left, right,</strong> and <strong>bottom</strong></em><br />
Try one by one to see the effect happen!.</p>
<ul>
<li><strong>Background</strong>,is to declare all the background properties into one. This method most widely used by web designers because it can shorten your work time.<br />
Example:</li>
</ul>
<pre class="brush:css">h1 {
   background:#FFFFFF url(nama-gambar.gif) no-repeat left top;
   }</pre>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/css-background.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Border</title>
		<link>http://csssyntax.com/css-border.html</link>
		<comments>http://csssyntax.com/css-border.html#comments</comments>
		<pubDate>Tue, 06 Oct 2009 08:17:33 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[css style]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=164</guid>
		<description><![CDATA[Describes the function of the css border property with example]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration: underline;">What Does CSS Border?</span></h3>
<p><strong>Border property</strong> is to make the outline on an (x)HTML element.</p>
<p>The border-style property specifies what kind of border to display,<br />
such as <strong>border width</strong>, <strong>border color</strong> and <strong>border style</strong> ( solid, dotted, dashed, thick, thin, double, etc).</p>
<p>There are several properties on the Border as follows,</p>
<p>Look <strong>Examples</strong> in below :<span id="more-164"></span></p>
<ul>
<li><strong>Top Border</strong>, to set the upper edge of the line.<br />
Example:</li>
</ul>
<pre class="brush:css">div {border-top-style:solid;
     border-top-width:1px;
     border-top-color:#FF0000;
     }</pre>
<ul>
<li><strong>Right</strong> <strong>Border </strong>, to set the right sideline.<br />
Example:</li>
</ul>
<pre class="brush:css">div {border-right-style:double;
     border-right-width:4px;
     border-right-color:#000000;
    }</pre>
<ul>
<li><strong>Bottom </strong><strong>Border </strong>, to set the lower edge of the line.<br />
Contoh:</li>
</ul>
<pre class="brush:css">div {border-bottom-style:dashed;
     border-bottom-width:thick;
     border-bottom-color:#FF0000;
    }</pre>
<ul>
<li><strong> Left</strong> <strong>Border</strong>, to set the left sideline.<br />
Contoh:</li>
</ul>
<pre class="brush:css">div {border-left-style:dotted;
     border-left-width:thin;
     border-left-color:#FF0000;}</pre>
<h3><span style="text-decoration: underline;">How to combine CSS Border?</span></h3>
<p>If you want to combine all the border properties in one declaration, the method is as follows:</p>
<pre class="brush:css">div {border-top:1px solid #000000;
     border-right :2px dashed #cccccc;
     border-bottom:3px dotted #999999;
     border-left :4px double #333333;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/css-border.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
