<?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>firdouss.com &#187; Web Design</title>
	<atom:link href="http://www.firdouss.com/tags/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.firdouss.com</link>
	<description>Random Sharing under the Sun</description>
	<lastBuildDate>Wed, 02 Jun 2010 05:43:57 +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>The Differences Between Web Designers and Web Developers</title>
		<link>http://www.firdouss.com/2009/11/the-differences-between-web-designers-and-web-developers/</link>
		<comments>http://www.firdouss.com/2009/11/the-differences-between-web-designers-and-web-developers/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 07:41:08 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[misconception]]></category>
		<category><![CDATA[reality]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web designer]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/?p=2169</guid>
		<description><![CDATA[I&#8217;m sure many of you guys who are Web Designers or Web Developers have faced clients who are not only clueless about what they want, but also clueless as to what the roles and differences are between these two terms. I dare not say most, but quite a number of clients (especially those that comes [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.firdouss.com/wp-content/uploads/2009/11/cartoon.png" alt="cartoon" title="cartoon" class="alignnone size-full wp-image-2173" /></p>
<p>I&#8217;m sure many of you guys who are <strong>Web Designers</strong> or <strong>Web Developers</strong> have faced clients who are not only clueless about what they want, but also clueless as to what the roles and differences are between these two terms. I dare not say most, but quite a number of clients (especially those that comes from marketing, no offence intended) have no clue about our roles.</p>
<p>Pardon me if the way I see things are not the same as you guys, but I am compelled to clarify, and educate people on what my opinions are regarding the roles of web designers and web developers. In summary here&#8217;s what the differences are:<br />
<span id="more-2169"></span></p>
<h3>Web Developers</h3>
<p>Web developers are the rockstar, or the champion that <strong>makes most of the website&#8217;s magic works</strong>. In short, if you want the website to be able to take user registration, collect some data, and produce certain results or outputs that correlate to the visitors, these are the people you are looking for.</p>
<p>Web developers will listen to your needs, suggest some approach to solve your problem, and make the magic work with their awesome programming skills.</p>
<h3>Web Designers</h3>
<p>Web designers, on the other hand, are the <strong>people who make your website look beautiful and also usable</strong>. They face challenges on plethora of issues related to different browsers people use to view your website, think about the most efficient way to layout your website so that the website loads as fast as it could, and make your visitors want to know more about you and your services.</p>
<p>In other words, web designers are the one that decorates the stage, print the tickets, and put up banners to the rockstar concert that will be performed by the rockstar themselves &#8211; the web developers (see above).</p>
<h3>So?</h3>
<p>What we want you to understand is that both web designers and web developers work hand-in-hand with each other to produce the website that not only solve your problems (and make it do what you want), but solve it elegantly and beautifully, while keeping the fun of your visitors intact so that they will come back for more.</p>
<p>Let&#8217;s take an example of a canned drink. Web developers will be the one figuring what is the best way to manufacture the drink you wanted, they will figure out what are the mixtures, and what kind of factory setup is ideal to produce the drinks efficiently. Web designers, on the other hand, will figure out how to make the can and boxes looks appealing to the customers so they will buy the drink and tell their friends about it.</p>
<h3>A note to both web designers and developers</h3>
<p>Now this part is going to be a bit geeky. As a web designer, it will be a tremendous advantage if you could pick up some web development languages &#8211; most popular at the moment is PHP, ASP and Ruby on Rails. By knowing the basics of these web development languages, you can integrate your designs into the application in a speedier manner, without confusing the web developers on how your HTML, CSS and JavaScript works, and at the same time saves the agony of the developers accidentally breaking your hours of work by missing one tag (or a semicolon, for that matter).</p>
<p>For developers, knowledge in laying out your basic application interface in a properly coded (and unstyled) manner will also save the designer&#8217;s time by not having to restructure the web page to make it work with how he designed the page.</p>
<h3>Conclusion</h3>
<p>For all, remember this &#8211; everytime you want to start a new web site, think about it &#8211; will it have anything that is using database? If you do, chances are you will need to hire both web designers and web developers to get the best results.</p>
<p>If you just want to make your website look prettier (the so-called facelift) and preserving the current function on what the site does, then you will need to hire web designers.</p>
<p>Some designers can also develop. Many web development teams nowadays will include a few designers on board, so they come in a package. Though they&#8217;re hard to come by, as many designers are not willing to be tied up in one team, unless they&#8217;re working on a whole new innovative ideas.</p>
<p>What should you do? If you think your web site will need some development work, contact the developers &#8211; they will contact the designers to help them with the cosmetics.</p>
<p>Savvy?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2009/11/the-differences-between-web-designers-and-web-developers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Malaysia is &#8216;Indonesia Copy&#8217; &#8211; the Ironic Coincidence</title>
		<link>http://www.firdouss.com/2009/11/malaysia-is-indonesia-copy-the-ironic-coincidence/</link>
		<comments>http://www.firdouss.com/2009/11/malaysia-is-indonesia-copy-the-ironic-coincidence/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 11:14:22 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[indonesia]]></category>
		<category><![CDATA[ironic]]></category>
		<category><![CDATA[malaysia]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/?p=2093</guid>
		<description><![CDATA[Note: Don&#8217;t get me wrong, this post is a joke, and is pure coincidence. I love both Indonesian and Malaysian people, they&#8217;re wonderful! While editing a mockup for one of our client&#8217;s website, as we were duplicating layers to make markings for individual countries, this accident happens: The ironic coincidence couldn&#8217;t be greater than this!]]></description>
			<content:encoded><![CDATA[<p><small>Note: Don&#8217;t get me wrong, this post is a joke, and is pure coincidence. I love both Indonesian and Malaysian people, they&#8217;re wonderful!</small></p>
<p>While editing a mockup for one of our client&#8217;s website, as we were duplicating layers to make markings for individual countries, this accident happens:</p>
<p><img src="http://www.firdouss.com/wp-content/uploads/2009/11/ganyang-irony-wins.jpg" alt="ganyang-irony-wins" title="ganyang-irony-wins" width="640" height="588" class="alignnone size-full wp-image-2094" /></p>
<p>The ironic coincidence couldn&#8217;t be greater than this!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2009/11/malaysia-is-indonesia-copy-the-ironic-coincidence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blog Layout &#8216;Whee&#8217; Launched!</title>
		<link>http://www.firdouss.com/2009/10/blog-layout-whee-launched/</link>
		<comments>http://www.firdouss.com/2009/10/blog-layout-whee-launched/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 01:37:20 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/?p=1772</guid>
		<description><![CDATA[Once again, I chose to change the layout of this blog. This time, I would like to try something different, that is, for once, I do not design my own blog layout. To make that happen, I sourced the design from a designer that I have high regards, none other than Kucing Kelabu Design&#8216;s lead [...]]]></description>
			<content:encoded><![CDATA[<p>Once again, I chose to change the layout of this blog. This time, I would like to try something different, that is, for once, I do not design my own blog layout. To make that happen, I sourced the design from a designer that I have high regards, none other than <a title='Original Link: http://www.kucing-kelabu.com/'  href="http://www.firdouss.com/?22dlrkfG">Kucing Kelabu Design</a>&#8216;s lead designer, <strong>Nirah</strong> :D</p>
<p>Integration with <a title='Original Link: http://www.wordpress.org'  href="http://www.firdouss.com/?nFnPbvJY">WordPress</a> can be a little tricky, especially when you want to do something out of the norm. So feel free to browse around and let me know if there&#8217;s anything that doesn&#8217;t look right. I will get on to it!</p>
<p>Here are some random snaps of the new layout<br />
[svgallery name="whee"]</p>
<p>There are a few new additions to this blog, that is, from now on I&#8217;ll be using SimpleViewer for the photographs, so you guys don&#8217;t have to keep on scrolling page after page to see more photos.</p>
<p><strong>Wait, what, &#8216;Whee&#8217;?</strong></p>
<p>Yeah, that&#8217;s what <strong>Nirah</strong> calls this theme &#8211; Wheeeeee! I agree, this is one of our fastest development for a blog theme, ever!</p>
<p><strong>Updates</strong><br />
- Added lightbox to the search bar on top right, just below the menu bar. Try clicking on it!<br />
- Added some strange lines below the website logo. Will be randomized soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2009/10/blog-layout-whee-launched/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Apple Safari 4 Public Beta: Quick Glance</title>
		<link>http://www.firdouss.com/2009/02/apple-safari-4-public-beta-quick-glance/</link>
		<comments>http://www.firdouss.com/2009/02/apple-safari-4-public-beta-quick-glance/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 04:52:30 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Life & Work]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[compliant]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[tabs]]></category>
		<category><![CDATA[version 4]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/?p=1359</guid>
		<description><![CDATA[Apple recently launched its public beta of Safari 4, promising performance and compatibility improvements over previous version. After a few minutes of playing around with the browser, here&#8217;s my verdict: Pretty Good. Where are the Tabs? When you first start the browser, it looks slightly different. First of all, the tab bar is gone, and [...]]]></description>
			<content:encoded><![CDATA[<p>Apple recently launched its public beta of Safari 4, promising performance and compatibility improvements over previous version. After a few minutes of playing around with the browser, here&#8217;s my verdict: Pretty Good.</p>
<h3>Where are the Tabs?</h3>
<p>When you first start the browser, it looks slightly different. First of all, the tab bar is gone, and Apple have moved the tab bar all the way up on the title bar (ala Google Chrome):<br />
<a href="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0005.png"><img src="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0005-1024x654.png" alt="Apple Safari 4 Beta" title="Apple Safari 4 Beta" width="600" height="383" class="aligncenter size-large wp-image-1360" /></a><br />
<span id="more-1359"></span></p>
<h3>Enhanced Display and Presentation</h3>
<p>Apple have also enhanced the way the &#8220;Top Sites&#8221; display, and improved the functionality. Now the top sites by default will cater to your frequently visited sites (I can&#8217;t help but feel that this is similar to Chrome), but you can also edit the entries to show which site that you want to be there (something like Opera&#8217;s):<br />
<a href="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0012.png"><img src="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0012-600x383.png" alt="Apple Safari 4: Top Sites" title="Apple Safari 4: Top Sites" width="600" height="383" class="aligncenter size-large wp-image-1362" /></a></p>
<p>Edit Mode:<br />
<a href="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0013.png"><img src="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0013-600x383.png" alt="Apple Safari 4: Top Sites Edit Mode" title="Apple Safari 4: Top Sites Edit Mode" width="600" height="383" class="aligncenter size-large wp-image-1363" /></a></p>
<p>Not only this, but Apple have made the bookmarks and history pages to something similar to iTunes or Mac OSX finder. I believe this display is known as &#8216;Coverflow&#8217;:<br />
<a href="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0014.png"><img src="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0014-600x383.png" alt="Apple Safari 4: Bookmarks, Coverflow" title="Apple Safari 4: Bookmarks, Coverflow" width="600" height="383" class="aligncenter size-large wp-image-1364" /></a></p>
<p>If you&#8217;re a user of Firefox 3, you know that Firefox have integrated the address bar to also become an &#8220;awesome bar&#8221; where your bookmarks and history will be found in there as well. Looks like Safari 4 already adopted similar system, what they called &#8220;Smart Address Field&#8221;:<br />
<a href="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0004.png"><img src="http://www.firdouss.com/wp-content/uploads/2009/02/snag-0004-600x396.png" alt="Apple Safari 4:Smart Address Field" title="Apple Safari 4:Smart Address Field" width="600" height="396" class="aligncenter size-large wp-image-1365" /></a></p>
<h3>Performance</h3>
<p>Apple have switched their JavaScript engine to &#8220;Nitro&#8221;, which claims that the JavaScript performance will be 4.2 times faster than in Safari 3. Previously I did not use Safari 3 much because it has this strange bug where when you open more than one AJAX-heavy page (normally for my case, its Facebook and GMail), one of them tend to be broken until you close the other tab. I&#8217;ve yet to experience this with Safari 4, but let&#8217;s give it a couple of days of full usage to show its true colors.</p>
<p>On overall impression scale of my short use of this browser, it does feel significantly faster than my Firefox and Chrome.</p>
<p>On the other hand, Safari 4 claims to be 100% compliant with the web standards, now supporting CSS3 and HTML5 fully, and has passed Acid3 test with 100% score.</p>
<p>Like I said, let&#8217;s give it some time then we&#8217;ll see how this browser is doing. I&#8217;m still a little unhappy with its huge footprint on my RAM (I have 5 tabs open in Firefox and it uses around 120MB of RAM, but I only have 3 tabs open in Safari 4, but its already consuming 170MB of RAM).</p>
<p>For those who wants to see the full features of Safari 4, <a title='Original Link: http://www.apple.com/safari/features.html'  href="http://www.firdouss.com/?G1CJO8r1">you can read it at the product page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2009/02/apple-safari-4-public-beta-quick-glance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fird&#8217;s Internet Explorer CSS Prayers &amp; Ritual</title>
		<link>http://www.firdouss.com/2009/02/firds-internet-explorer-css-prayers-ritual/</link>
		<comments>http://www.firdouss.com/2009/02/firds-internet-explorer-css-prayers-ritual/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 13:32:58 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web site]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/?p=1320</guid>
		<description><![CDATA[Everytime I code a website, I will make sure I will adhere to the standards and &#8220;safe&#8221; workarounds as much as I could. But sometimes things just love to fail in IE. So I have this small baseless-ritual in my CSS file in almost all my templates: /* * Main CSS File * Kucing Kelabu [...]]]></description>
			<content:encoded><![CDATA[<p>Everytime I code a website, I will make sure I will adhere to the standards and &#8220;safe&#8221; workarounds as much as I could. But sometimes things just love to fail in IE. So I have this small baseless-ritual in my CSS file in almost all my templates:</p>
<p><code><br />
/*<br />
 * Main CSS File<br />
 * Kucing Kelabu Designs (http://www.kucing-kelabu.com/)<br />
 *<br />
 * Browser Prayers (in case the CSS went roque)<br />
 * Now I lay me down to XHTML<br />
 * I pray the Browser Engine my CSS positioning to keep<br />
 * If I float beyond the DIV<br />
 * I pray the lord Bill Gate's soul to keep<br />
 *<br />
 * Hush little browser don't say a word<br />
 * and never mind the positioning you heard<br />
 * it's just the IE CSS bug under your bed<br />
 * in your browser in your head<br />
 *<br />
 * Exit Light. Enter Night.<br />
 * Take my fixes<br />
 *<br />
 * We're off to browser-compatiblity Land<br />
 */<br />
* {position: relative; zoom: 1;}<br />
</code></p>
<p>Yep. That&#8217;s one of the IE fixes. Do you guys have any? :D</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2009/02/firds-internet-explorer-css-prayers-ritual/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mono Pink</title>
		<link>http://www.firdouss.com/2008/12/mono-pink/</link>
		<comments>http://www.firdouss.com/2008/12/mono-pink/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 15:29:56 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[grey]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[light brown]]></category>
		<category><![CDATA[pink]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/?p=1136</guid>
		<description><![CDATA[I&#8217;ve made the last 2 posts private. Meantime, I am tweaking this new theme for this blog, which I name &#8220;Mono-Pink&#8221;. Do let me know if you come across weird bugs. I&#8217;ve only tested it on Firefox 3.0 right now, and IE 7 briefly. Edit: I&#8217;ve tested it on Opera 9.6, Safari 3.2, Firefox 3.0.5 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made the last 2 posts private. Meantime, I am tweaking this new theme for this blog, which I name &#8220;Mono-Pink&#8221;. Do let me know if you come across weird bugs. I&#8217;ve only tested it on Firefox 3.0 right now, and IE 7 briefly.</p>
<p><strong>Edit:</strong><br />
I&#8217;ve tested it on Opera 9.6, Safari 3.2, Firefox 3.0.5 and Internet Explorer 7, they all look great!<span id="more-1136"></span></p>
<div id="attachment_1187" class="wp-caption alignnone" style="width: 160px"><a href="http://www.firdouss.com/wp-content/uploads/2008/12/firefox3.png"><img src="http://www.firdouss.com/wp-content/uploads/2008/12/firefox3-150x150.png" alt="Mono-Pink in Firefox 3" title="Mono-Pink in Firefox 3" width="150" height="150" class="size-thumbnail wp-image-1187" /></a><p class="wp-caption-text">Mono-Pink in Firefox 3</p></div> <div id="attachment_1190" class="wp-caption alignnone" style="width: 160px"><a href="http://www.firdouss.com/wp-content/uploads/2008/12/safari.png"><img src="http://www.firdouss.com/wp-content/uploads/2008/12/safari-150x150.png" alt="Mono-Pink in Safari 3" title="Mono-Pink in Safari 3" width="150" height="150" class="size-thumbnail wp-image-1190" /></a><p class="wp-caption-text">Mono-Pink in Safari 3</p></div> <div id="attachment_1189" class="wp-caption alignnone" style="width: 160px"><a href="http://www.firdouss.com/wp-content/uploads/2008/12/opera.png"><img src="http://www.firdouss.com/wp-content/uploads/2008/12/opera-150x150.png" alt="Mono-Pink in Opera 9.6" title="Mono-Pink in Opera 9.6" width="150" height="150" class="size-thumbnail wp-image-1189" /></a><p class="wp-caption-text">Mono-Pink in Opera 9.6</p></div> <div id="attachment_1188" class="wp-caption alignnone" style="width: 160px"><a href="http://www.firdouss.com/wp-content/uploads/2008/12/ie7.png"><img src="http://www.firdouss.com/wp-content/uploads/2008/12/ie7-150x150.png" alt="Mono-Pink in Internet Explorer 7" title="Mono-Pink in Internet Explorer 7" width="150" height="150" class="size-thumbnail wp-image-1188" /></a><p class="wp-caption-text">Mono-Pink in Internet Explorer 7</p></div>
<div class="clear"></div>
<p>ps: My &#8220;Farewell&#8221; isn&#8217;t a suicide note. It&#8217;s supposed to be my &#8220;leave of absence&#8221; letter, but I guess I cut my holiday short. I will be writing one guide soon, to compensate for the unnecessary drama. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2008/12/mono-pink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Dynamic Rounded Corners with CSS</title>
		<link>http://www.firdouss.com/2007/04/guide-rounded-corners-with-css/</link>
		<comments>http://www.firdouss.com/2007/04/guide-rounded-corners-with-css/#comments</comments>
		<pubDate>Thu, 26 Apr 2007 12:16:54 +0000</pubDate>
		<dc:creator>Firdouss</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[corners]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[rounded]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.firdouss.com/2007/04/26/guide-rounded-corners-with-css/</guid>
		<description><![CDATA[At one point of time, I was so obsessed with rounded-corners. In my opinion, if used right, rounded corners will make an interface (especially segmented websites like blogs or portals) looks more manageable and attractive. When I was just learning up web-development and HTML, I will make use of tables made from 9-cells (3&#215;3) to [...]]]></description>
			<content:encoded><![CDATA[<p>At one point of time, I was so obsessed with rounded-corners. In my opinion, if used right, rounded corners will make an interface (especially segmented websites like blogs or portals) looks more manageable and attractive.</p>
<p>When I was just learning up web-development and HTML, I will make use of tables made from 9-cells (3&#215;3) to realize my &#8220;rounded corner&#8221; desire. This is very simple, all you have to do is to create 4 images to represent the corners and arrange them up in such way (red lines signifies the cells):</p>
<p><img src='http://www.firdouss.com/wp-content/uploads/2007/04/9cell-table.gif' alt='9-Cell Table that is used to simulate â€œrounded cornersâ€' /></p>
<p>There&#8217;s absolutely nothing wrong with doing this, even now. However, I am personally sick of coding the tables &#8211; plus, should I decided I don&#8217;t want the round corners anymore, it would be troublesome for me to edit the entire template file just to do that. However, thanks to the powerful styling properties of <a title='Original Link: http://en.wikipedia.org/wiki/CSS'  href="http://www.firdouss.com/?TrtGMalB">CSS</a>, there&#8217;s a better way to do this.<span id="more-562"></span></p>
<p>Before we dive into the code and styling, we need to understand how exactly is this done in CSS. The idea is similar to the table mentioned earlier, but a little bit simplified. The trick here is to use nested layers, with each containing one of the rounded corners.</p>
<p>The layers are nested within each other to ensure that they stick together. The bottom-most (outer-most) layer contains one of the corner, while also contains the background color of the entire box. The three inner layers contains the remaining corners, and the innermost layer will have the contents. To ease confusion, it can be visually represented as such:</p>
<p><img src='http://www.firdouss.com/wp-content/uploads/2007/04/layercomp.gif' alt='Visual Explanation of Rounded Corners, the CSS way' /></p>
<p>The big trick behind this method is the corner images &#8211; they are actually made in reverse. Which means, instead of having an image of a corner, you have an image of the background WITH a transparent corner instead. Take a look at the blown up image of the individual corner below (note that the black area are actually transparent. I color them black to give a general idea on how it looks like:</p>
<p><img src='http://www.firdouss.com/wp-content/uploads/2007/04/bl-corner.gif' alt='Bottom Left Corner' /> <img src='http://www.firdouss.com/wp-content/uploads/2007/04/br-corner.gif' alt='Bottom Right Corner' /> <img src='http://www.firdouss.com/wp-content/uploads/2007/04/tl-corner.gif' alt='Top Left Corner' /> <img src='http://www.firdouss.com/wp-content/uploads/2007/04/tr-corner.gif' alt='Top Right Corner' /></p>
<p><strong>Okay now let&#8217;s get down and dirty with the code now, shall we?</strong></p>
<p>First, the basic structure:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'rounded-outer'</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'rounded-1'</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'rounded-2'</span>&gt;</span>
         <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'rounded-inner'</span>&gt;</span>
            This is a rounded corner box
         <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>Then the basic CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.rounded-outer</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#448ccb</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'br.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.rounded-1</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'bl.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.rounded-2</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'tl.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.rounded-inner</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'tr.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span> <span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span> <span style="color: #993333;">normal</span> <span style="color: #993333;">normal</span> <span style="color: #933;">12pt</span> <span style="color: #ff0000;">&quot;tahoma&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;arial&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p><strong>Important things to remember:</strong><br />
- If you&#8217;re going to apply any size (width or height) or outer margin to the entire box, make sure it is done on the outer layer.<br />
- If you&#8217;re going to apply any padding (inner margin) to the box, do it on the innermost layer.</p>
<p><strong><a href="http://www.firdouss.com/media/css-rounded/rounded.html">See the box in action!</a></strong></p>
<p>If you have any questions, feel free to ask!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firdouss.com/2007/04/guide-rounded-corners-with-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
