<?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>axing's blog &#187; Web</title>
	<atom:link href="http://xing.web.id/blog/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://xing.web.id/blog</link>
	<description>Renew, reload, re-新の空</description>
	<lastBuildDate>Wed, 24 Jun 2009 13:14:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Easiest Way of Making Money with Google Adsense</title>
		<link>http://xing.web.id/blog/2009/04/the-easiest-way-of-making-money-with-google-adsens/</link>
		<comments>http://xing.web.id/blog/2009/04/the-easiest-way-of-making-money-with-google-adsens/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 03:16:08 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Google Adsense]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=114</guid>
		<description><![CDATA[If you have Google Adsense, I bet you do know how hard it is to make money with it. You have to master all of webby things such as analyzing visitors, maintain your traffic, SEO, writing nice article, and a dozen of skills which to make your website a making money website.
Google Adsense is hard, [...]]]></description>
			<content:encoded><![CDATA[<p>If you have Google Adsense, I bet you do know how hard it is to make money with it. You have to master all of webby things such as analyzing visitors, maintain your traffic, SEO, writing nice article, and a dozen of skills which to make your website a making money website.</p>
<p>Google Adsense is hard, but if you keep focus and learning how it works, making money is no more just like flapping your hand. Imagine how beautiful your life is by seeing those earning digits jumping everyday...</p>
<p>Here I want to share the <strong>fastest</strong> and the <strong>easiest</strong> way to make money with Google Adsense. But before that, you might want to see how much I have earned today. See the screenshot below:</p>
<p><a href="http://xing.web.id/blog/wp-content/uploads/2009/04/googleads.jpg"><img class="alignnone size-medium wp-image-115" title="Google Adsense" src="http://xing.web.id/blog/wp-content/uploads/2009/04/googleads-300x161.jpg" alt="Google Adsense" width="300" height="161" /></a></p>
<p>Click <a href="http://googleadsensegenerator.com/" target="_blank">here</a> for the sake of your better life!</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/04/the-easiest-way-of-making-money-with-google-adsens/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Latest jQuery v1.3.2&#8217;s bug on WebKit</title>
		<link>http://xing.web.id/blog/2009/02/latest-jquery-v132s-bug-on-webkit/</link>
		<comments>http://xing.web.id/blog/2009/02/latest-jquery-v132s-bug-on-webkit/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 10:06:18 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[slickspeed]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=97</guid>
		<description><![CDATA[I found a bug (may be a browser bug) which is happen on my favorite framework, the latest version of jQuery (v1.3.2) on WebKit browser when I was trying slickspeed with some popular JavaScript Frameworks.
Here the screenshots:
Safari 3.1.2

Chrome 1.0.154.48
 
No problem found in Safari 3.1.2 Nightly, Firefox 3.0.6, Opera 9.63 and IE7.
Test the slickspeed here: http://xing.web.id/slickspeed/
Selectors I [...]]]></description>
			<content:encoded><![CDATA[<p>I found a bug (may be a browser bug) which is happen on my favorite framework, the latest version of <a title="jQuery" href="http://jquery.com" target="_blank">jQuery</a> (<a title="v1.3.2" href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js" target="_blank">v1.3.2</a>) on WebKit browser when I was trying <a title="slickspeed" href="http://xing.web.id/slickspeed/" target="_blank">slickspeed</a> with some popular JavaScript Frameworks.</p>
<p>Here the screenshots:</p>
<p><a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari.jpg" target="_blank">Safari 3.1.2</a><br />
<a href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari.jpg" target="_blank"><img class="alignnone size-medium wp-image-102" title="Click here to enlarge" src="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari-300x102.jpg" alt="slickspeed-safari" width="300" height="102" /></a></p>
<p><a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-chrome.jpg" target="_blank">Chrome 1.0.154.48</a><br />
<a href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-chrome.jpg" target="_blank"><img class="alignnone size-medium wp-image-104" title="Click here to enlarge" src="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-chrome-300x113.jpg" alt="slickspeed-chrome" width="300" height="113" /></a> </p>
<p>No problem found in <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari-nightly.jpg" target="_blank">Safari 3.1.2 Nightly</a>, <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-firefox.jpg" target="_blank">Firefox 3.0.6</a>, <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-opera.jpg" target="_blank">Opera 9.63</a> and <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-ie.jpg" target="_blank">IE7</a>.</p>
<p>Test the slickspeed here: <a href="http://xing.web.id/slickspeed/" target="_blank">http://xing.web.id/slickspeed/</a></p>
<p>Selectors I used:</p>
<ul>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
</ul>
<p>JavaScript Frameworks I used:</p>
<ul>
<li><a href="http://jquery.com/" target="_blank">jQuery 1.2.6</a></li>
<li><a href="http://jquery.com/" target="_blank">jQuery 1.3.2</a></li>
<li><a href="http://www.dojotoolkit.org/" target="_blank">Dojo 1.2.3</a></li>
<li><a href="http://mootools.net/" target="_blank">MooTools 1.2.1</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/02/latest-jquery-v132s-bug-on-webkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery v1.3.0 has been released!</title>
		<link>http://xing.web.id/blog/2009/01/jquery-v130-has-been-released/</link>
		<comments>http://xing.web.id/blog/2009/01/jquery-v130-has-been-released/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 09:47:59 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=86</guid>
		<description><![CDATA[A long wait for this release, finally jQuery has released version 1.3 on its birthday (14 Jan).
New features on 1.3 are:

Replaced old CSS selector engine with Sizzle, a standalone framework which is developed by John Resig and donated to the Dojo Foundation.
A new event API, Live Events, that can binds event to the future DOM [...]]]></description>
			<content:encoded><![CDATA[<p>A long wait for this release, finally <a title="jQuery" href="http://jquery.com/" target="_blank">jQuery</a> has released version <a title="jQuery 1.3" href="http://docs.jquery.com/Release:jQuery_1.3" target="_blank">1.3</a> on its birthday (14 Jan).</p>
<p>New features on 1.3 are:</p>
<ul>
<li>Replaced old CSS selector engine with <a title="Sizzle" href="http://sizzlejs.com/" target="_blank">Sizzle</a>, a standalone framework which is developed by John Resig and donated to the <a title="Dojo Foundation" href="http://dojofoundation.org/" target="_blank">Dojo Foundation</a>.</li>
<li>A new event API, Live Events, that can binds event to the future DOM elements.</li>
</ul>
<p>Rewritten features are:</p>
<ul>
<li> Standardized jQuery Event according to <a title="W3C Standards" href="http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html" target="_blank">W3C standards</a> and makes it work smoothly across all browsers.</li>
<li>Rewritten HTML Injection, and it's 6x faster than before.</li>
<li>Rewritten .offset() from scratch, and it's 3x faster than before.</li>
<li>Deprecated browser sniffing API, replaced by a new technique called 'feature detection' that simulate a particular browser feature or bug to verify its existence. This feature detection is encapsulated into a new object, <a title="jQuery.support" href="http://docs.jquery.com/Utilities/jQuery.support" target="_blank">jQuery.support</a>.</li>
</ul>
<p>The release note of this version can be read at <a href="http://docs.jquery.com/Release:jQuery_1.3" target="_blank">here</a>.</p>
<p><strong>Trivia</strong>:</p>
<p>Version file size comparison:<br />
<a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.js" target="_blank">jQuery v1.3.0</a> (115KB), <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.min.js" target="_blank">minified</a> (53.7KB) and gzipped (17.8KB)<br />
<a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.js" target="_blank">jQuery v1.2.6</a> (97.8KB), <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.min.js" target="_blank">minified</a> (54.5KB) and gzipped (15.6KB)</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/01/jquery-v130-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s side are you on?</title>
		<link>http://xing.web.id/blog/2008/12/whos-side-are-you-on/</link>
		<comments>http://xing.web.id/blog/2008/12/whos-side-are-you-on/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 10:45:37 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=77</guid>
		<description><![CDATA[Give Up and Use Tables
or...
Should I use tables for layout?
]]></description>
			<content:encoded><![CDATA[<p><a title="Give Up and Use Tables" href="http://giveupandusetables.com/" target="_blank">Give Up and Use Tables</a></p>
<p>or...</p>
<p><a title="Should I use tables for layout?" href="http://shouldiusetablesforlayout.com/" target="_blank">Should I use tables for layout?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2008/12/whos-side-are-you-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web 2.0 Validator</title>
		<link>http://xing.web.id/blog/2008/12/web-20-validator/</link>
		<comments>http://xing.web.id/blog/2008/12/web-20-validator/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 09:57:21 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Validator]]></category>
		<category><![CDATA[Web2.0]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=67</guid>
		<description><![CDATA[Is your website:

Denies the existance of Rocky V ?
 Rocks out to the dance noise sound of Chinese Forehead ?
 JavaScript by Dreamweaver ?

These questions weird enough, right? In fact, these 3 questions are part of rule to become Web 2.0. Try to validate your website with this Web 2.0 Validator, and you will get [...]]]></description>
			<content:encoded><![CDATA[<p>Is your website:</p>
<ul>
<li>Denies the existance of Rocky V ?</li>
<li> Rocks out to the dance noise sound of Chinese Forehead ?</li>
<li> JavaScript by Dreamweaver ?</li>
</ul>
<p>These questions weird enough, right? In fact, these 3 questions are part of rule to become Web 2.0. Try to validate your website with this <a title="Web 2.0 Validator" href="http://web2.0validator.com/" target="_blank">Web 2.0 Validator</a>, and you will get an interesting (somewhat funny) Web 2.0 score of your website. Here is my blog's score:</p>
<p><a href="http://xing.web.id/blog/wp-content/uploads/2008/12/web20validator.gif"><img class="alignnone size-medium wp-image-68" title="Web 2.0 Validator" src="http://xing.web.id/blog/wp-content/uploads/2008/12/web20validator-121x300.gif" alt="Web 2.0 Validator" width="121" height="300" /></a></p>
<p>This validator still in "beta" version, and the possibility of getting undesirable result will probably happen. Like mine,  I got this:</p>
<p>"Appears to use RSS ?  <span class="error">No</span>"</p>
<p>... but surely I am using now. <img src='http://xing.web.id/blog/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2008/12/web-20-validator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab CSS Fixing</title>
		<link>http://xing.web.id/blog/2008/11/tab-css-fixing/</link>
		<comments>http://xing.web.id/blog/2008/11/tab-css-fixing/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 09:58:01 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Update]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Cross-browser]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=40</guid>
		<description><![CDATA[I found error on my tab menu that I made it myself. The layout was messed on web browser which its layout engine is WebKit (Safari 3.1.2 or Google Chrome 0.2.152.1) or Presto (Opera 9.52) layout engine, but no problem was found in Mozilla Firefox 2.0.0.18, 3.0.4 and IE 7. Below are the screen shots [...]]]></description>
			<content:encoded><![CDATA[<p>I found error on my tab menu that I made it myself. The layout was messed on web browser which its layout engine is WebKit (Safari 3.1.2 or Google Chrome 0.2.152.1) or Presto (Opera 9.52) layout engine, but no problem was found in Mozilla Firefox 2.0.0.18, 3.0.4 and IE 7. Below are the screen shots of each web browser with different layout engine:</p>
<p><img class="thinborder" title="Safari 3.1.2 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-safari312.gif" alt="bfsafari312" /><br />
<span class="redtext"> Safari 3.1.2</span></p>
<p><img class="thinborder" title="Google Chrome 0.2.152.1 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-chrome021521.gif" alt="bfchrome021521" /><br />
<span class="redtext"> Google Chrome</span></p>
<p><img class="thinborder" title="Opera 9.52 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-opera952.gif" alt="opera952" /><br />
<span class="redtext"> Opera 9.52</span></p>
<p><img class="thinborder" title="Mozilla Firefox 2.0.0.18 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-ff20018.gif" alt="bfff20018" /><br />
<span class="greentext"> Mozilla Firefox 2.0.0.18</span></p>
<p><img class="thinborder" title="Mozilla Firefox 3.0.4 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-ff304.gif" alt="bfff304" /><br />
<span class="greentext"> Mozilla Firefox 3.0.4</span></p>
<p><img class="thinborder" title="IE 6 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-ie6.gif" alt="bfie6" /><br />
<span class="redtext"> IE 6</span></p>
<p><img class="thinborder" title="IE 7 (Before)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/before-ie7.gif" alt="bfie7" /><br />
<span class="greentext"> IE 7</span></p>
<p>The layouts above were constructed by the following HTML and CSS:</p>
<p>HTML:</p>
<div class="code-snippet">
<pre><span style="color: black;">&lt;div <span style="color: #000066;">id</span><span style="color: #009900;">=</span></span><span style="color: red;">"globalnav"</span>&gt;
<span style="color: black;">  &lt;ul <span style="color: #000066;">id</span><span style="color: #009900;">=</span><span style="color: red;">"menu"</span>&gt;</span>
<span style="color: black;">    &lt;li <span style="color: #000066;">class</span><span style="color: #009900;">=</span><span style="color: red;">"page_item home-link current_page_item"</span>&gt;</span>
<span style="color: black;">      &lt;a <span style="color: #000066;">href</span><span style="color: #009900;">=</span>"<span style="color: red;">http://xing.web.id/blog/"</span>&gt;Blog&lt;/a&gt;</span>
<span style="color: black;">    &lt;/li&gt;</span>
<span style="color: black;">    &lt;li <span style="color: #000066;">class</span><span style="color: #009900;">=</span>"<span style="color: red;">page_item"</span>&gt;</span>
<span style="color: black;">      &lt;a <span style="color: #000066;">href</span><span style="color: #009900;">=</span>"<span style="color: red;">http://xing.web.id/blog/about/"</span>&gt;About&lt;/a&gt;</span>
<span style="color: black;">    &lt;/li&gt;</span>
<span style="color: black;">    &lt;li <span style="color: #000066;">class</span><span style="color: #009900;">=</span>"<span style="color: red;">page_item"</span>&gt;</span>
<span style="color: black;">      &lt;a <span style="color: #000066;">href</span><span style="color: #009900;">=</span>"<span style="color: red;">http://xing.web.id/blog/useronline/"</span>&gt;Who’s online?&lt;/a&gt;</span>
<span style="color: black;">    &lt;/li&gt;</span>
<span style="color: black;">    &lt;li <span style="color: #000066;">class</span><span style="color: #009900;">=</span>"<span style="color: red;">page_item"</span>&gt;</span>
<span style="color: black;">      &lt;a <span style="color: #000066;">href</span><span style="color: #009900;">=</span>"<span style="color: red;">http://xing.web.id/blog/lifestream/"</span>&gt;LifeStream&lt;/a&gt;</span>
<span style="color: black;">    &lt;/li&gt;</span>
<span style="color: black;">  &lt;/ul&gt;</span>
<span style="color: black;">&lt;/div&gt;</span></pre>
</div>
<p>CSS:</p>
<div class="code-snippet">
<pre class="css">div<span style="color: #cc00cc;">#globalnav</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-bottom</span>: <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">height</span>: <span style="color: #933;">22px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">margin</span>: -<span style="color: #933;">20px</span> <span style="color: #993333;">auto</span> <span style="color: #933;">15px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">text-align</span>: <span style="color: #000000; font-weight: bold;">right</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">list-style-image</span>: <span style="color: #993333;">none</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">list-style-position</span>: <span style="color: #993333;">outside</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">list-style-type</span>: <span style="color: #993333;">none</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> li<span style="color: #6666ff;">.page_item</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">inline</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">padding</span>: <span style="color: #933;">0</span> <span style="color: #933;">10px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">text-align</span>: <span style="color: #993333;">center</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> li<span style="color: #6666ff;">.current_page_item</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">white</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-color</span>: <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span> <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span> <span style="color: #993333;">white</span> <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-style</span>: <span style="color: #993333;">solid</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-width</span>: <span style="color: #933;">1px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">padding-bottom</span>: <span style="color: #933;">5px</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> li a <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">text-decoration</span>: <span style="color: #993333;">none</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">top</span>: <span style="color: #933;">2px</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
</div>
<p>I tried to figure out where the problems were. Then I found:</p>
<ul>
<li><strong>&lt;ul&gt;</strong> has its default top and bottom margin and this is critical, so I fix it by adding <strong>margin:0px;</strong> to <strong>ul#menu</strong></li>
<li>The bottom border of <strong>div#globalnav</strong> supposed to be covered by current selected page style of <strong>&lt;li&gt;</strong> (<strong>.current_page_item</strong>), but I made a mistake, I put these styles:
<pre class="css"><span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>;</pre>
<pre class="css"><span style="color: #000000; font-weight: bold;">top</span>: <span style="color: #933;">2px</span>;</pre>
<p>in <strong>ul#menu li a</strong> that didn't achieve my purpose. So I move them to <strong>ul#menu li.page_item</strong></li>
<li>There's 1px difference of <strong>&lt;li&gt;</strong> position (height? or padding?) between Gecko and WebKit. WebKit somehow more 1px than Gecko. Sigh, I have no idea if by using CSS could solve my problem (of course I had tried several ways, but didn't working). So I used a small hacking, I put a <strong>&lt;div&gt;</strong> (<strong>id="hack"</strong>) right under the <strong>&lt;div id="globalnav"&gt;</strong> with the following style:
<pre class="css"><span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">white</span>;</pre>
<pre class="css"><span style="color: #000000; font-weight: bold;">height</span>: <span style="color: #933;">15px</span>;</pre>
<p>Since the <strong>ul#menu li.page_item</strong> had been styled <strong>position: relative;</strong>, it will stays on the top of every element. In this case, element stacking order rule is definitely needed here to be applied well. So, I simply give <strong>position: relative;</strong> in <strong>div#hack</strong>.</li>
</ul>
<p>Voila!</p>
<div class="code-snippet">
<pre class="css">div<span style="color: #cc00cc;">#globalnav</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-bottom</span>: <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">height</span>: <span style="color: #933;">20px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">text-align</span>: <span style="color: #000000; font-weight: bold;">right</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">list-style-image</span>: <span style="color: #993333;">none</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">list-style-position</span>: <span style="color: #993333;">outside</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">list-style-type</span>: <span style="color: #993333;">none</span>;</pre>
<pre class="css">  margin<span style="color: #3333ff;">:<span style="color: #933;">0px</span></span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> li<span style="color: #6666ff;">.page_item</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">inline</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">padding</span>: <span style="color: #933;">3px</span> <span style="color: #933;">10px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">top</span>: <span style="color: #933;">2px</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> li<span style="color: #6666ff;">.current_page_item</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">white</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-color</span>: <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span> <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span> <span style="color: #993333;">white</span> <span style="color: #cc00cc;">#<span style="color: #933;">005599</span></span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-style</span>: <span style="color: #993333;">solid</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">border-width</span>: <span style="color: #933;">1px</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">ul<span style="color: #cc00cc;">#menu</span> li a <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">text-decoration</span>: <span style="color: #993333;">none</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
<pre class="css">div<span style="color: #cc00cc;">#hack</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">white</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">height</span>: <span style="color: #933;">15px</span>;</pre>
<pre class="css">  <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>;</pre>
<pre class="css"><span style="color: #66cc66;">&#125;</span></pre>
</div>
<p>Screenshots:<br />
<img class="thinborder" title="Safari 3.1.2 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-safari312.gif" alt="afsafari312" /><br />
<span class="greentext"> Safari 3.1.2</span></p>
<p><img class="thinborder" title="Google Chrome 0.2.152.1 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-chrome021521.gif" alt="afchrome021521" /><br />
<span class="greentext"> Google Chrome</span></p>
<p><img class="thinborder" title="Opera 9.52 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-opera952.gif" alt="afopera952" /><br />
<span class="greentext"> Opera 9.52</span></p>
<p><img class="thinborder" title="Mozilla Firefox 2.0.0.18 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-ff20018.gif" alt="afff20018" /><br />
<span class="greentext"> Mozilla Firefox 2.0.0.18</span></p>
<p><img class="thinborder" title="Mozilla Firefox 3.0.4 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-ff304.gif" alt="afff304" /><br />
<span class="greentext"> Mozilla Firefox 3.0.4</span></p>
<p><img class="thinborder" title="IE 6 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-ie6.gif" alt="afie6" /><br />
<span class="greentext"> IE 6</span></p>
<p><img class="thinborder" title="IE 7 (After)" src="http://xing.web.id/blog/wp-content/uploads/2008/11/after-ie7.gif" alt="afie7" /><br />
<span class="greentext"> IE 7</span></p>
<p>Well, while I was testing on WebKit browser, I found something very odd (or rather I call it a 'bug'?) and this really took me whole day finding out the problem. This bug only occur on WebKit browser. I'll write this WebKit layout bug at another post.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2008/11/tab-css-fixing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
