<?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>LoonDesign &#187; CSS</title>
	<atom:link href="http://kailoon.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://kailoon.com</link>
	<description>Tutorials . Comic . Web Design . Freelance . Blog</description>
	<lastBuildDate>Tue, 09 Mar 2010 16:51:25 +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>MyCSS Grid System</title>
		<link>http://kailoon.com/mycss-grid-system/</link>
		<comments>http://kailoon.com/mycss-grid-system/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 09:55:12 +0000</pubDate>
		<dc:creator>kailoon</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://kailoon.com/?p=728</guid>
		<description><![CDATA[This is a specific CSS Framework specially built for blogs and small web sites.]]></description>
			<content:encoded><![CDATA[<p>This is my first attempt to create my own CSS Grid System &#8211; <strong><a href="http://kailoon.com/example/framework/">MyCSS Grid System</a></strong>. I notice that there are a few useful CSS Grid System out there but it is a shame while I never use them. I know it is useful and especially when you work for a company. They prefer to have all this thing well documented. It us good for company future development.</p>
<h3>Why I Create This While I Can Download Others?</h3>
<p>I am so stubborn, I don&#8217;t want to follow others! ( just kidding ). I notice that most of the CSS Grid System have lots of extra classes of elements. It is good and handy but is it really useful for your project? So, I try to create a very simple CSS Grid System just for blog or small website. So, this can be a little different from what you see in other popular framework. You can find all popular css grid system from the <a href="http://www.gridsystemgenerator.com/">Grid System Generator</a>.</p>
<h3>Introduction</h3>
<p><a href="http://kailoon.com/example/framework/">MyCSS Grid System</a> is using the maximum of 960px width. It comes with the most common layout proportion for blogs and creative web sites. It is also using the best <a href="http://www.smashingmagazine.com/2008/05/29/applying-divine-proportion-to-web-design/">divine proportion</a> in web design. This may not that useful compare to those well built css grid system but I think it somehow do the job. </p>
<h3>How It Works?</h3>
<p>In the download files, there are:</p>
<ul>
<li>index.html</li>
<li>grid.css</li>
<li>format.css</li>
</ul>
<p>You can start coding your project by including the <strong>grid.css</strong>.</p>
<h3>Codes Preview</h3>
<p>The grid.css, I am using my name as the first and the last div (Easy to remember, every time you use this system, you will remember my name! Hehe.. So, the first div from the left has a class name &#8220;kai&#8221;, the last div on the right will has a class name &#8220;loon&#8221;. So, &#8220;<strong>kailoon</strong> to complete the work!&#8221;.</p>
<pre class="brush: css;">
* { /* CSS reset, you can replace with your own css reset codes*/
	margin: 0;
	padding: 0;
}

.b1 { width: 640px; }
.b2 { width: 300px; }
.b1 .b1 { width: 310px; }
.g1 { width: 580px; }
.g2 { width: 360px; }
.g1 .g1 { width: 280px; }
.g2 .g2 { width: 170px; }

.col {
	float: left;
	margin: 0 10px;
	display: inline;
}

.box {
	margin: 0 auto 20px;
	width: 960px;
}

.kai { /* The first left component*/
	margin-left: 0;
}

.loon { /* The last right component*/
	margin-right: 0;
}

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
</pre>
<p>The HTML:</p>
<pre class="brush: xml;">
&lt;div class=&quot;box clearfix&quot;&gt;
		&lt;h1&gt;960px - Normal Blog Layout&lt;/h1&gt;
		&lt;p&gt;960px&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&quot;box clearfix&quot;&gt;
	&lt;div class=&quot;col b1 kai&quot;&gt;
		&lt;p&gt;640px&lt;/p&gt;
	&lt;/div&gt;
	&lt;div class=&quot;col b2 loon&quot;&gt;
		&lt;p&gt;300px&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;box clearfix&quot;&gt;
	&lt;div class=&quot;col b1 kai&quot;&gt;
		&lt;div class=&quot;col b1 kai&quot;&gt;
			&lt;p&gt;310px&lt;/p&gt;
		&lt;/div&gt;
		&lt;div class=&quot;col b1 loon&quot;&gt;
			&lt;p&gt;310px&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;col b2 loon&quot;&gt;
		&lt;p&gt;300px&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;box clearfix&quot;&gt;
	&lt;h1&gt;960px - Golden Divine Proportion Layout&lt;/h1&gt;
	&lt;p&gt;960px - The Golden Divine&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&quot;box clearfix&quot;&gt;
	&lt;div class=&quot;col g1 kai&quot;&gt;
			&lt;p&gt;580px&lt;/p&gt;
	&lt;/div&gt;
	&lt;div class=&quot;col g2 loon&quot;&gt;
			&lt;p&gt;360px&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;	

&lt;div class=&quot;box&quot;&gt;
	&lt;div class=&quot;col g1 kai&quot;&gt;
			&lt;div class=&quot;col g1 kai&quot;&gt;
				&lt;p&gt;280px&lt;/p&gt;
			&lt;/div&gt;
			&lt;div class=&quot;col g1 loon&quot;&gt;
				&lt;p&gt;280px&lt;/p&gt;
			&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;col g2 loon&quot;&gt;
			&lt;div class=&quot;col g2 kai&quot;&gt;
				&lt;p&gt;170px&lt;/p&gt;
			&lt;/div&gt;
			&lt;div class=&quot;col g2 loon&quot;&gt;
				&lt;p&gt;170px&lt;/p&gt;
			&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<h3>Conclusion and Download</h3>
<p>It is simple and easy to use as it is very specific. The CSS file size is extremely small, only <strong>778 bytes!</strong>. You can <a href="http://kailoon.com/example/framework/">preview the demo here</a>. If you have any questions or you find any bugs or you have any suggestions, please feel free to leave a comment. If you find this useful, let me see how / where you implement it. Thanks!</p>
<div class="interact">
<a href="http://kailoon.com/download/mycss.zip"><img src="http://kailoon.com/download/download.jpg" alt="Download" /></a><a href="http://kailoon.com/example/framework/" target="_blank"><img src="http://kailoon.com/download/preview.jpg" alt="Download" /></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kailoon.com/mycss-grid-system/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Simple Tabbing System</title>
		<link>http://kailoon.com/simple-tabbing-system/</link>
		<comments>http://kailoon.com/simple-tabbing-system/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 11:00:02 +0000</pubDate>
		<dc:creator>kailoon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://kailoon.com/?p=282</guid>
		<description><![CDATA[Today, we are going to learn how to create simple tabbing system. It is a very common technique nowadays. Especially for those magazine site, news or blogs that contain a lot of sections or contents. Tabbing system is very useful to make things look more organized and structure. I know most of you are using [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/content_image/tabbing/tabbing.png" alt="tabbing" class="float" />Today, we are going to learn how to create simple tabbing system. It is a very common technique nowadays. Especially for those magazine site, news or blogs that contain a lot of sections or contents. Tabbing system is very useful to make things look more organized and structure. I know most of you are using JQuery for it. But for me, I am using Savvy UI. Another javascript library. I use it for all my wordpress themes design and development.</p>
<h3>Mission</h3>
<p>Before this, I&#8217;ve release a tutorial about the <a href="http://kailoon.com/css-sliding-door-using-only-1-image/" target="_blank">CSS sliding door using only 1 image</a>. I will extend from there and what we need to do is to modify some codes. Before that, you can<br />
<a href="http://kailoon.com/example/tabbing/" target="_blank"><img src="/content_image/tabbing/end.png" alt="sample" class="border" /></a>. </p>
<h3>Step 1 &#8211; HTML Structure</h3>
<p>Let&#8217;s start here. This is a basic structure that we need. We need to put everything inside a div that we are going to control using the javascript. Here we use #tab. The beauty of Savvy UI is that the title of the div will be the anchor text for the tab buttons. The x-simpletab-panel is a pre-built class for the tab button within the system to make sure that the content within the div will be included in the tabbing system.</p>
<pre class="brush: xml;">
&lt;div id=&quot;tab&quot;&gt;
	&lt;div id=&quot;tab-home&quot; title=&quot;Home&quot; class=&quot;x-simpletab-panel&quot;&gt;
        &lt;!--content goes here--&gt;home content
        &lt;/div&gt;&lt;!--tab-home end--&gt;

	&lt;div id=&quot;tab-products&quot; title=&quot;Products&quot; class=&quot;x-simpletab-panel&quot;&gt;
        &lt;!--content goes here--&gt;products content
        &lt;/div&gt;&lt;!--tab-product end--&gt;

	&lt;div id=&quot;tab-blog&quot; title=&quot;Blog&quot; class=&quot;x-simpletab-panel&quot;&gt;
        &lt;!--content goes here--&gt;blog content
        &lt;/div&gt;&lt;!--tab-blog end--&gt;

	&lt;div id=&quot;tab-contact&quot; title=&quot;Contact&quot; class=&quot;x-simpletab-panel&quot;&gt;
        &lt;!--content goes here--&gt;contact content
        &lt;/div&gt;&lt;!--tab-contact end--&gt;
&lt;/div&gt;
</pre>
<h3>Step 2 &#8211; CSS</h3>
<p>For the css part, we will need to create something to suit the system. There will be several auto-generated class for the ul, li and div that we use.</p>
<pre class="brush: css;">
body {
	padding: 20px;
	margin: 0;
	color: #666;
	font: 400 80%/150% Verdana, Arial, Helvetica, sans-serif;
}

.simpletab-toolbar-container { /*container for the tab buttons*/
	float: left;
	width: 100%;
}

ul.simpletab-toolbar { /*auto generated ul with specified class */
	padding: 0;
	margin: 0;
	list-style: none;
	background-color: #fff;
	float: left;
	clear: left;
}

ul.simpletab-toolbar li {
	float: left;
}

ul.simpletab-toolbar li a {
	float: left;
	text-decoration: none;
	color: #ccc;
	padding: 4px 15px 0 0;
	margin-right: 8px;
	font: 900 14px &quot;Arial&quot;, Helvetica, sans-serif;
}

ul.simpletab-toolbar li a em { /*auto generated em, the useage is same with what we used for the sliding dor as span */
	float: left;
	padding-right: 15px;
	display: block;
	margin-top: -4px;
	height: 24px;
}

ul.simpletab-toolbar li a:hover {
 	color: #0d5f83;
	background: url(&quot;images/blue.png&quot;) no-repeat top right;
}

ul.simpletab-toolbar li a:hover em {
	background: url(&quot;images/blue.png&quot;) no-repeat top left;
}

ul.simpletab-toolbar li a.current {
	background: url(&quot;images/blue.png&quot;) no-repeat top right;
 	color: #0d5f83;
}

ul.simpletab-toolbar li a.current em {
	background: url(&quot;images/blue.png&quot;) no-repeat top left;
}

.simpletab-container { /*auto generated class for the content container */
	margin-top: 10px;
	float: left;
}

.simpletab-container .simpletab-active { /*auto generated class for the active content container */
	display: block;
}

.simpletab-container .simpletab-hidden { /*auto generated class for the in-active content container */
	display: none;
}
</pre>
<h3>Step 3 &#8211; Download the Library and Implement</h3>
<p>We need to build the <a href="http://savvyui.com/download/build/">Library</a> that we need and implement into the codes. What we need is only the Simple Tab under Utilities. Then, implement into our system.</p>
<pre class="brush: xml;">
&lt;script type=&quot;text/javascript&quot; src=&quot;savvy-build.js&quot;&gt;&lt;/script&gt;
	&lt;script type=&quot;text/javascript&quot;&gt;
		SUI(document).ready(function(){
    		new SUI.Util.SimpleTab(&quot;#tab&quot;);
		});
	&lt;/script&gt;                                

/*before the head close tag*/
</pre>
<p><a href="http://kailoon.com/example/tabbing/basic.php" target="_blank">The result so far.</a></p>
<h3>Step 4 &#8211; Structure The Contents</h3>
<p>Now, let&#8217;s try to add in some content and style it in what you like. Below is my example for it.</p>
<pre class="brush: xml;">
&lt;h1&gt;&lt;a href=&quot;#&quot;&gt;Simple Tab Using Savvy.UI&lt;/a&gt;&lt;/h1&gt;
&lt;div id=&quot;tab&quot;&gt;
&lt;div id=&quot;tab-home&quot; title=&quot;Home&quot; class=&quot;x-simpletab-panel&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;h3&gt;Home&lt;/h3&gt;
&lt;div class=&quot;post&quot;&gt;
&lt;p&gt;&lt;!--content goes here--&gt;&lt;/p&gt;
&lt;/div&gt;&lt;!--post end--&gt;
&lt;/div&gt;&lt;!--content end--&gt;
&lt;/div&gt;&lt;!--tab-home end--&gt;

&lt;div id=&quot;tab-products&quot; title=&quot;Products&quot; class=&quot;x-simpletab-panel&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;h3&gt;Products&lt;/h3&gt;
&lt;div class=&quot;post&quot;&gt;
&lt;p&gt;&lt;!--content goes here--&gt;&lt;/p&gt;
&lt;/div&gt;&lt;!--post end--&gt;
&lt;/div&gt;&lt;!--content end--&gt;
&lt;/div&gt;&lt;!--tab-priduct end--&gt;

&lt;div id=&quot;tab-blog&quot; title=&quot;Blog&quot; class=&quot;x-simpletab-panel&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;h3&gt;Post Title 1&lt;/h3&gt;
&lt;div class=&quot;post&quot;&gt;
&lt;p&gt;&lt;!--content goes here--&gt;&lt;/p&gt;
&lt;/div&gt;&lt;!--post end--&gt;
&lt;/div&gt;&lt;!--content end--&gt;
&lt;/div&gt;&lt;!--tab-blog end--&gt;

&lt;div id=&quot;tab-contact&quot; title=&quot;Contact&quot; class=&quot;x-simpletab-panel&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;h3&gt;Contact&lt;/h3&gt;
&lt;div class=&quot;post&quot;&gt;
&lt;p&gt;&lt;!--content goes here--&gt;&lt;/p&gt;
&lt;/div&gt;&lt;!--post end--&gt;
&lt;/div&gt;&lt;!--content end--&gt;
&lt;/div&gt;&lt;!--tab-contact end--&gt;

&lt;/div&gt;</pre>
<h3>Step 5- CSS Again</h3>
<p>After that, apply some CSS for it.</p>
<pre class="brush: css;">
#tab {
	clear: left;
	width: 100%;
}

.content {
	border: 1px solid #59b9e8;
	background-color: #e0eef4;
	margin-bottom: 15px;
}

.post {
	padding: 0 10px;
}

h3 {
	background: url(images/header.png) repeat-x top left;
	height: 30px;
	font: 900 20px &quot;Times New Roman&quot;, Times, serif;
	color: #fff;
	margin: 0;
	padding: 2px 0 0 10px;
}

body {
	padding: 20px;
	margin: 0;
	color: #666;
	font: 400 80%/150% Verdana, Arial, Helvetica, sans-serif;
}

p {
	padding: 0 0 12px 0;
}

h1 a {
	font: 900 200% &quot;trebuchet MS&quot;;
	color: #59B9E8;
	letter-spacing: -1px;
	margin: 0;
	text-decoration: none;
}

h1 a:hover {
	color: #09f;
}
</pre>
<h3>Conclusion and Download</h3>
<p>It is simple and easy to do. Again, here is the <a href="http://kailoon.com/example/tabbing/" target="_blank">end result</a>. And below is the download for the source files that I used. Cheers!</p>
<div class="interact">
<a href="http://kailoon.com/download/tabbing.zip"><img src="http://kailoon.com/download/download.jpg" alt="Download" /></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kailoon.com/simple-tabbing-system/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>CSS Sliding Door using only 1 image</title>
		<link>http://kailoon.com/css-sliding-door-using-only-1-image/</link>
		<comments>http://kailoon.com/css-sliding-door-using-only-1-image/#comments</comments>
		<pubDate>Tue, 27 May 2008 10:48:40 +0000</pubDate>
		<dc:creator>kailoon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://kailoon.com/?p=236</guid>
		<description><![CDATA[Before I know about this technique, I was using different images for each of the button I needed in a navigation bar. I found that it is not user friendly and also need more CSS coding. Besides, it is increasing the processing time and bandwidth in loading a site. In this tutorial, I will show [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/content_image/sliding-door/sliding-door.png" alt="css sliding door button" class="float"/>Before I know about this technique, I was using different images for each of the button I needed in a navigation bar. I found that it is not user friendly and also need more CSS coding. Besides, it is increasing the processing time and bandwidth in loading a site. In this tutorial, I will show you how to code the navigation bar using only 1 image. I will not cover the image creation part because I think you should know how to do that after follow few of my tutorials in the past. So, start here&#8230;</p>
<p><span id="more-236"></span></p>
<h3>The Image</h3>
<p><center><img src="/content_image/sliding-door/bg.png" alt="css sliding door button" class="border"/></center><br />
I will not show how to create this but I will let you guys download the psd file as a reference. I provided 4 types of colors as default, you can edit them according to your preferences. <a href="http://kailoon.com/content_image/sliding-door/sliding-door.psd" title="css sliding door button">Download the psd</a> here and I even prepared the slices for you. What you need in building the navigation menu is only a 493px X 24px image like below.</p>
<p><center><img src="/content_image/sliding-door/blue.png" alt="css sliding door button" class="border"/></center><br />
Before we start, head over and see what we are going to <a href="http://kailoon.com/example/sliding-door/css-sliding-door-blue.html" target="_blank">achieve from this tutorial</a>.</p>
<h3>Concept</h3>
<p>The concept of the sliding door is to use a background image for the buttons in a navigation menu. I am using a span within a link in the list to hold a part of the image. the link itself will hold another part of it. Which means, the important part will be the background-image position. </p>
<h3>HTML</h3>
<pre class="brush: xml;">
&lt;ul class=&quot;blue&quot;&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;home&quot;&gt;home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;products&quot;&gt;products&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;blog&quot;&gt;blog&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;contact&quot;&gt;contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>Now, I add in a <strong>&lt;span&gt;</strong> for each of the link to hold the left hand side of the background image.</p>
<pre class="brush: xml;">
&lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;home&quot; class=&quot;current&quot;&gt;&lt;span&gt;home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;products&quot;&gt;&lt;span&gt;products&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;blog&quot;&gt;&lt;span&gt;blog&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;contact&quot;&gt;&lt;span&gt;contact&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>CSS</h3>
<p><strong>1. &lt;ul&gt; &#8211; Unorder-List</strong></p>
<pre class="brush: css;">
ul {
	padding: 5px;
	margin: 10px 0;
	list-style: none;
	float: left;
}

ul li {
	float: left;
	display: inline; /*For ignore double margin in IE6*/
	margin: 0 10px;
}

ul li a {
	text-decoration: none;
	float:left;
	color: #999;
	cursor: pointer;
	font: 900 14px/22px &quot;Arial&quot;, Helvetica, sans-serif;
}

ul li a span {
	margin: 0 10px 0 -10px;
	padding: 1px 8px 5px 18px;
	position: relative; /*To fix IE6 problem (not displaying)*/
	float:left;
}
</pre>
<p>We need to make <strong>list-style</strong> as none because no image for any list within it. I use a <strong>float left</strong> here because I am going to use <strong>float left</strong> for the <strong>&lt;span&gt;</strong> and also <strong>&lt;li&gt;</strong>. I am not going to define a width for it because this is just a sample. </p>
<p><strong>4. &lt;Hover&gt; &#8211; mouse over action</strong></p>
<pre class="brush: css;">
ul.blue li a.current, ul.blue li a:hover {
	background: url(images/blue.png) no-repeat top right;
 	color: #0d5f83;
}

ul.blue li a.current span, ul.blue li a:hover span {
	background: url(images/blue.png) no-repeat top left;
}
</pre>
<p>Since we are going to have the same effect for the mouse over and active link. I combine the codes.<br />
<a href="http://kailoon.com/example/sliding-door/css-sliding-door.html" alt="css sliding door button" target="blank">Here is another example with 4 colors</a>.</p>
<h3>Compatibality, Conclusion and Download</h3>
<p>This script has been tested in IE6, 7, Firefox 3.5.5, Safari and Google Chrome. This is a very useful technique which you can re-use in page with only 1 image. It is easy to use and I hope that you guys can understand my poor English explanation. Any question, just send me an email or drop me a comment here. </p>
<h3>Update ( 10th Decemeber 2009 )</h3>
<p>Thanks <strong>Dimitar Yanev</strong> for the advice to not using empty tags, I decided to update the codes. I hope you guys enjoy this little trick!</p>
<div class="interact">
<a href="http://kailoon.com/download/sliding.zip"><img src="http://kailoon.com/download/download.jpg" alt="Download" /></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kailoon.com/css-sliding-door-using-only-1-image/feed/</wfw:commentRss>
		<slash:comments>100</slash:comments>
		</item>
		<item>
		<title>How To Describe CSS?</title>
		<link>http://kailoon.com/how-do-you-describe-css/</link>
		<comments>http://kailoon.com/how-do-you-describe-css/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 10:13:50 +0000</pubDate>
		<dc:creator>kailoon</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://kailoon.com/?p=224</guid>
		<description><![CDATA[After I posted up the 5 useful CSS Tricks. I received some comments on how to explain what CSS is ? Or maybe how to define CSS? All the comments come after the first comment from Amei who asked &#8220;Does CSS code=HTML code?&#8221; Then I read some different descriptions after i explain mine. There are [...]]]></description>
			<content:encoded><![CDATA[<p>After I posted up the 5 useful CSS Tricks. I received some comments on how to explain what CSS is ? Or maybe how to define CSS? All the comments come after the first comment from Amei who asked &#8220;Does CSS code=HTML code?&#8221; Then I read some different descriptions after i explain mine. There are a lots of CSS hardcore coder out there and also web designers. I think each of them have their different point of view for CSS, XHTML or maybe Javascript and PHP. It will be fun when we compare it with pur daily life.</p>
<p><strong>Kai loon said:</strong></p>
<blockquote><p>&#8220;HTML is the parents and CSS is their child, CSS has beautify his parents life since he was borne. Now, The kids grow up and can have their own career but still they are under protection by their parents.&#8221;</p></blockquote>
<p><strong><a href="http://themegears.com/" title="css" target="_blank">xaer8</a> said:</strong></p>
<blockquote><p>&#8220;HTML code is like the face, while CSS code is like the make-ups. Without make-ups, you wonâ€™t look pretty.&#8221;</p></blockquote>
<p><strong><a href="http://kayzio.com/" title="css" target="_blank">sandersky</a> said:</strong></p>
<blockquote><p>&#8220;html is like a pclear condom while css is a green glow in the dark coating. it makes the condom a lot more attractive and less plain.&#8221;</p></blockquote>
<p>So, how about you? Mind to share your unique descriptions?</p>
]]></content:encoded>
			<wfw:commentRss>http://kailoon.com/how-do-you-describe-css/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>CSSMATES &#8211; A GOOD PLACE FOR CSS LOVERS</title>
		<link>http://kailoon.com/cssmates-a-good-place-for-css-lovers/</link>
		<comments>http://kailoon.com/cssmates-a-good-place-for-css-lovers/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 03:07:54 +0000</pubDate>
		<dc:creator>kailoon</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://kailoon.com/cssmates-a-good-place-for-css-lovers/</guid>
		<description><![CDATA[CSSMates is a forum site which is for all the CSS lovers to discuss all about CSS matter. So, if you are one of them, don&#8217;t miss this chance to meet the pros! There are many resources sharing there for your references. Besides, if you are a beginner CSSer, you can always ask for help [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cssmates.com" target="_blank" title="Take a look now"><img src="/content_image/cssmates.png" alt="cssmates" class="float"/></a><a href="http://www.cssmates.com" target="_blank">CSSMates</a> is a forum site which is for all the CSS lovers to discuss all about CSS matter. So, if you are one of them, don&#8217;t miss this chance to meet the pros! There are many resources sharing there for your references. Besides, if you are a beginner CSSer, you can always ask for help from the pros in the forum. They are very helpful. CSSMates is Designed and Developed by Tweenty Six media and just has been launched!!! It always make me feel good to start together with a new site/forum. So, let&#8217;s talk about CSS today and join a better community site.</p>
<h3>How Kai Loon See CSS in His Life?</h3>
<p>Kai Loon is a CSS lover, so, I will not want to waste this chance to learn more and enhance my skills in writing CSS. CSS is a beautiful language for me and I like it very much. It drives me to the web design field from graphic designer. It gives me a name as a CSS Designer. So, I need to work hard to make the title worth. </p>
<h3>What I &#8216;d Experienced There?</h3>
<p>About CSSMates, I found that the forum layout is simple enough to navigate. But the design really need some enhancements. Maybe they are still undergoing the development? There is an error when I post up a new topic or comments with attachments. I can&#8217;t post with any attachments. I hope they can fix it later or give users a guide on how to use their tools. User friendly interface is always a key features for a successful.</p>
<h3>Conclusion</h3>
<p>Anyway, it is a good place for the CSSer to discuss and exchange idea. It is always a good idea to gather all the people with same interest and boost up the knowledge and skills developments. I hope that I can learn something useful there and also help those newbie or whoever facing any CSS problems. You may also ask here in LoonDesign if you don&#8217;t mind. Ok, happy posting in CSSMates!</p>
]]></content:encoded>
			<wfw:commentRss>http://kailoon.com/cssmates-a-good-place-for-css-lovers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>5 Useful CSS Tricks</title>
		<link>http://kailoon.com/5-usefull-css-tricks/</link>
		<comments>http://kailoon.com/5-usefull-css-tricks/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 10:40:22 +0000</pubDate>
		<dc:creator>kailoon</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://kailoon.com/5-usefull-css-tricks/</guid>
		<description><![CDATA[As you guys know, I am CSS designer now working under a blog advertising company. Most of the time, I deal with the CSS codes and web design. I found that CSS is a useful tool to beautify your website. However, for those who don&#8217;t know CSS, it can be a bit complicated but once [...]]]></description>
			<content:encoded><![CDATA[<p>As you guys know, I am CSS designer now working under a blog advertising company. Most of the time, I deal with the CSS codes and web design. I found that CSS is a useful tool to beautify your website. However, for those who don&#8217;t know CSS, it can be a bit complicated but once you know them well. You can make friends with them but maybe you need to leave your old friend (IE6) first&#8230; All right, today I am going to share some of the CSS tricks with you. So, forget about the graphic tutorials before first. Let&#8217;s learn something different today.</p>
<h3>1. FONT</h3>
<p>Usually, we beautify <a href="http://www.w3.org/TR/REC-CSS2/fonts.html" target="_blank" title="font">font</a> with several line of codes like this :</p>
<style>
h3.my {
	font-size: 28px;
	font-weight: bold;
	font-family: "Arial", Helvetica, sans-serif;
	color: #333333;
	line-height: 24px;
        margin-bottom: 10px;
        padding: 0px;
}
</style>
<pre class="brush: css;">
h3.my {
	font-size: 28px;
	font-weight: bold;
	font-family: &quot;Arial&quot;, Helvetica, sans-serif;
	color: #333333;
	line-height: 24px;
}
</pre>
<pre class="brush: xml;">
&lt;h3 class=&quot;my&quot;&gt;Loon Design&lt;/h3&gt;
</pre>
<p>Do you find the code is a bit too messy or too long? Here is my solution for them:</p>
<pre class="brush: css;">
h3.my {
	font: 900 160%/240% &quot;Arial&quot;, Helvetica, sans-serif;
	color: #333;
}
</pre>
<pre class="brush: xml;">
&lt;h3 class=&quot;my&quot;&gt;Loon Design&lt;/h3&gt;</pre>
<p>Will this cut down your coding time? The output will be: <center><br />
<h3 class="my">Loon Design</h3>
<p></center></p>
<ul>
<h3>Tips</h3>
<li>The order of the attributes are font: weight size/line-height family;</li>
<li>400 = normal and 900 for bold</li>
</ul>
<h3>2. Margin and Padding</h3>
<p>Wondering what how to differentiate them? <a href="http://www.w3.org/TR/REC-CSS2/box.html" target="_blank" title="box model">You check this site for details</a>.  We use margin and padding most of the time when we write up the codes. However, I am not to say the padding problem with IE6 ( seriously, I am having a bad time with IE6 during my work, may post it out later ) here but try to give you some tricks on how to make it in 1 line.</p>
<p>Normally, we code like this, we take margin as example :</p>
<pre class="brush: css;">
.my {
	margin-top: 10px;
        margin-bottom: 20px;
        margin-left: 5px;
        margin-right: 5px;
}
</pre>
<p>but now we can make it in 1 line like this :</p>
<pre class="brush: css;">
.my {
	margin: 10px 5px 20px 5px;
}
</pre>
<ul>
<h3>Tips</h3>
<li>margin: top right bottom left;</li>
<li>or when you have the same margin for the top and bottom, it become like this : margin: 10px 0;</li>
<li>while margin: 0 auto; means vertically align.</li>
</ul>
<h3>3. Class and ID</h3>
<p>the symbol for <a href="http://www.w3.org/TR/CSS21/selector.html#class-html" target="_blank" title="class selectors">class selectors</a> is (.) while <a href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" target="_blank" title="id selectors">id selectors</a> is (#), but what&#8217;s the different between them? </p>
<ul><strong>ID</strong></p>
<li>IDs identify a specific element and therefore must be unique on the page. It can only be used once in a page.</li>
<li>We consider that it has the higher level than class. It is more specific.</li>
<li>can be used and an anchor name.</li>
</ul>
<ul><strong>Class</strong></p>
<li>Classes mark elements as members of a group and can be used multiple times. </li>
</ul>
<p>Actually, you can use both id and class in a div or element. It&#8217;s priority of attributes are depend on id first.</p>
<h3>4. Ignore by IE &#8211; !important</h3>
<p>This is a trick to write something that ignore by IE but can be run in all browsers. The attributes before the !important will be ignored by IE. </p>
<pre class="brush: css;">Example: margin: 20px !important; margin: 10px;</pre>
<p>There will be 20px margin for all browsers except IE which will have the 10px margin. This is useful when you doing some positioning adjustments and most of the time it is showing different result in IE browser.</p>
<h3>5. Block vs. inline level elements</h3>
<p>Most of the HTML elements are block or inline elements. What is the different between them?</p>
<ul><strong>Block</strong></p>
<li>Always begin on a new line.</li>
<li>Height, line-height and top and bottom margins can be manipulated. </li>
<li>Width defaults to 100% of their containing element, unless a width is specified. </li>
<li>Example &lt;div&gt;, &lt;p&gt;, &lt;h1&gt;, &lt;form&gt;, &lt;ul&gt; and &lt;li&gt; </li>
</ul>
<ul><strong>Inline Elements</strong></p>
<li>Always begin on the same line.</li>
<li>Height, line-height and top and bottom margins can&#8217;t be changed. </li>
<li>Width is as long as the text/image and can&#8217;t be manipulated. </li>
<li>Example &lt;span&gt;, &lt;a&gt;, &lt;label&gt;, &lt;input&gt;, &lt;img&gt;, &lt;strong&gt; and &lt;em&gt; </li>
</ul>
<h3>Conclusion</h3>
<p>Well, that&#8217;s all I wish to share with you guys. Feel free to drop me a message if you find any question about the provided tricks. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://kailoon.com/5-usefull-css-tricks/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>
