<?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>this is the personal weblog of Andy Widodo &#187; tutorial</title>
	<atom:link href="http://playgroundpilot.com/archives/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://playgroundpilot.com</link>
	<description>Hi I&#039;m Andy</description>
	<lastBuildDate>Sun, 10 Jul 2011 17:17:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>100% DIV width</title>
		<link>http://playgroundpilot.com/archives/2007/100-div-width/</link>
		<comments>http://playgroundpilot.com/archives/2007/100-div-width/#comments</comments>
		<pubDate>Thu, 24 May 2007 19:33:35 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://playgroundpilot.com/journal/archives/2007/100-div-width/</guid>
		<description><![CDATA[Baru-baru ini ada sedikit masalah di salah satu kerjaan gw, gw mau buat container dengan width 100%, dimana container itu langsung di bawah tag body. CSS yang gw pake pertama kali adalah : #main_container { margin:0px auto; padding:0; width:100%; } Di IE berjalan dengan baik, tapi ngga di FF. Nah, cara mengatasinya : #main_container { [...]]]></description>
			<content:encoded><![CDATA[<p>Baru-baru ini ada sedikit masalah di salah satu kerjaan gw, gw mau buat container dengan width 100%, dimana container itu langsung di bawah tag <code>body</code>. <acronym title="Cascading Style Sheets">CSS</acronym> yang gw pake pertama kali adalah :</p>
<ol class="code">
<li class="t0">#main_container {</li>
<li class="t0">margin:0px auto;</li>
<li class="t0">padding:0;</li>
<li class="t0">width:100%;</li>
<li class="t0">}</li>
</ol>
<p>Di <acronym title="Internet Explorer">IE</acronym> berjalan dengan baik, tapi ngga di <acronym title="Mozilla Firefox">FF</acronym>. Nah, cara mengatasinya :</p>
<ol class="code">
<li class="t0">#main_container {</li>
<li class="t0">margin:0px auto;</li>
<li class="t0">padding:0;</li>
<li class="t0">width:100%;</li>
<li class="t0">background:#fff repeat;</li>
<li class="t0">position: absolute;</li>
<li class="t0">left: 0;</li>
<li class="t0">right: 0;</li>
<li class="t0">top: 0px;</li>
<li class="t0">}</li>
</ol>
<p>Browser tertentu memakai keempat koordinat untuk menghitung lebar dan tinggi dari element yang diposisikan secara absolut. Lebih lanjut baca <a title="http://www.w3.org/TR/CSS21/visudet.html#x5" href="http://www.w3.org/TR/CSS21/visudet.html#x5">disini</a>.<span class="me" style="font-family: verdana; color: #000000; font-size: x-small;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://playgroundpilot.com/archives/2007/100-div-width/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MySQL: &#8216;UNION&#8217; command</title>
		<link>http://playgroundpilot.com/archives/2006/mysql-union-command/</link>
		<comments>http://playgroundpilot.com/archives/2006/mysql-union-command/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 20:26:44 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://playgroundpilot.com/journal/2006/10/05/mysql-union-command/</guid>
		<description><![CDATA[Kemaren ada kerjaan yang make command ini&#8230;mungkin uda banyak yang tau&#8230;tapi sekedar sharing aja. UNION command di MySQL digunakan untuk melakukan SELECT pada dua atau lebih tabel. contohnya : SELECT * FROM tabel_1 UNION SELECT * FROM tabel_2; Atau dengan contoh yang sedikit lebih kompleks, misalnya memakai kondisi tertentu dan digunakan untuk paging : SELECT [...]]]></description>
			<content:encoded><![CDATA[<p>Kemaren ada kerjaan yang make command ini&#8230;mungkin uda banyak yang tau&#8230;tapi sekedar sharing aja.</p>
<p><code>UNION</code> command di MySQL digunakan untuk melakukan <code>SELECT</code> pada dua atau lebih tabel. contohnya :</p>
<ol class="code">
<li class="t0">SELECT * FROM tabel_1 UNION SELECT * FROM tabel_2;</li>
</ol>
<p>Atau dengan contoh yang sedikit lebih kompleks, misalnya memakai kondisi tertentu dan digunakan untuk paging :</p>
<ol class="code">
<li class="t0">SELECT * FROM tabel_1 WHERE cat_id=&#8217;$id&#8217; UNION SELECT * FROM tabel_2 ORDER BY nama LIMIT $offset, $rowsPerPage;</li>
</ol>
<p>Command <code>UNION</code> ini hanya digunakan pada dua atau lebih tabel yang memiliki struktur kolom yang sama.</p>
<p><small>*sharing yang tida berguna..ahushuhsuhsuhashushush</small></p>
]]></content:encoded>
			<wfw:commentRss>http://playgroundpilot.com/archives/2006/mysql-union-command/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Define your CSS</title>
		<link>http://playgroundpilot.com/archives/2006/define-your-css/</link>
		<comments>http://playgroundpilot.com/archives/2006/define-your-css/#comments</comments>
		<pubDate>Thu, 31 Aug 2006 06:19:15 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://playgroundpilot.com/journal/2006/08/31/define-your-css/</guid>
		<description><![CDATA[This tutorial is a CSS tutorial for beginner..in this tutorial, I presume that we have already knew the basic HTML. The first thing you should know before applying CSS in your web pages is defining the CSS to be able to be accesed by your web pages. There are 2 ways in defining your CSS [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial is a CSS tutorial for beginner..in this tutorial, I presume that we have already knew the basic HTML.</p>
<p>The first thing you should know before applying CSS in your web pages is defining the CSS to be able to be accesed by your web pages.<br />
There are 2 ways in defining your CSS to be accessible by your page, those are internally (in the same file with your HTML pages) and externally (as an external file).<br />
<span id="more-37"></span><br />
Ok, let&#8217;s start by the first way to define your CSS</p>
<p><strong>- Define your CSS internally</strong><br />
The normal tag structure of an empty HTML page is like this :</p>
<ol class="code">
<li class="t0">&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</li>
<li class="t0">&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;</li>
<li class="t0">&lt;head&gt;</li>
<li class="t0">&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;</li>
<li class="t0">&lt;title&gt;Untitled Document&lt;/title&gt;</li>
<li class="t0">&lt;/head&gt;</li>
<li class="t0">&lt;body&gt;</li>
<li class="t0">&lt;/body&gt;</li>
<li class="t0">&lt;/html&gt;</li>
</ol>
<p>and now to define your CSS, all you have to do is write this line before the <code>&lt;body&gt;</code> tag :</p>
<ol class="code">
<li class="t0">&lt;style type=&#8221;text/css&#8221;&gt;</li>
<li class="t0">&lt;/style&gt;</li>
</ol>
<p>then inside the <code>&lt;style&gt;</code> tag you can define the CSS of the HTML page, for example :</p>
<ol class="code">
<li class="t0">&lt;style type=&#8221;text/css&#8221; &gt;</li>
<li class="t0">body {</li>
<li class="t0">background:#000 repeat;</li>
<li class="t0">margin:0;</li>
<li class="t0">padding:0;</li>
<li class="t0">}</li>
<li class="t0">h1 {</li>
<li class="t0">font-family:&#8221;Verdana&#8221;, Arial, Helvetica, sans-serif;</li>
<li class="t0">font-size: 12px;</li>
<li class="t0">margin:0;</li>
<li class="t0">padding:0;</li>
<li class="t0">}</li>
<li class="t0">h2 {</li>
<li class="t0">font-family:&#8221;Verdana&#8221;, Arial, Helvetica, sans-serif;</li>
<li class="t0">font-size: 10px;</li>
<li class="t0">margin:0;</li>
<li class="t0">padding:0;</li>
<li class="t0">&lt;/style&gt;</li>
</ol>
<p>By the style we have defined above,  then we can apply it to our HTML pages.<br />
Remember that the visible styles in the HTML pages are the only styles which we have already defined.</p>
<p><strong>- Define your CSS externally<br />
</strong>We can also define the CSS externally by linking the css file which is not defined in the html page. for example, i have the css like the example above in a file named style.css, so all you have to do, to be able to apply your CSS in your HTML pages, just write this line before the <code>&lt;body&gt;</code> tag :</p>
<ol class="code">
<li class="t0">&lt;link href=&#8221;link/to/your/css/file.css&#8221; media=&#8221;all&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&gt;</li>
</ol>
<p>Where the &#8216;media&#8217; value depends on the media you are working on for your CSS to work.</p>
<p>Well, now we know how to define the CSS, and now it&#8217;s up to you on how you define your CSS, but I think it&#8217;s easier to put your styles in a different file, so it will be more comfortable for editing.</p>
<p>Another tips, please create your styleguide of your HTML pages first, before proceeding to HTML template building.</p>
<p>Hope this tutorial helps..cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://playgroundpilot.com/archives/2006/define-your-css/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

