<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Azadcreative.com</title>
	
	<link>http://azadcreative.com</link>
	<description>UK Web Designer / Developer Saddam Azad writes about Web Design, Web Development tricks and tutorials, Wordpress, XHTML CSS Javascript, Social Media, Web 2.0, Online Marketing.</description>
	<lastBuildDate>Tue, 31 Aug 2010 19:41:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/azadcreative" /><feedburner:info uri="azadcreative" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>azadcreative</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>A Case Against Jailbreaking</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/x2R6KKu_fUo/</link>
		<comments>http://azadcreative.com/2010/08/a-case-against-jailbreaking/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 23:26:05 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=426</guid>
		<description><![CDATA[You can jailbreak your iPhone but beware of the troubles you bring with it. A weekend experiment to finally check out what jailbreaking means turns into a rather sad experience. This is what you should know before you jailbreak your &#8230; <a href="http://azadcreative.com/2010/08/a-case-against-jailbreaking/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p><!--a1638352a8ab4d9e8423cf354ac4cbff--><em>You can jailbreak your iPhone but beware of the troubles you bring with it. A weekend experiment to finally check out what jailbreaking means turns into a rather sad experience. This is what you should know before you jailbreak your iPhone.</em><span id="more-426"></span></p>
<p>I jailbreaked my iPhone this weekend after I watched a few peers jailbreak theirs. It looked like a great idea at the time.</p>
<p>Jailbreaking was too easy with the instant jailbreaking tool <a title="JailbreakMe" href="http://www.jailbreakme.com/">JailbreakMe</a>, so I got on with browsing the Cydia store in just a couple of minutes.</p>
<p>I came across the MyWi app that turns your phone into a Wi-fi hotspot. It came with another app store call <a href="http://rockyourphone.com">Rock Your Phone</a> (or just <em>Rock</em>) which seems better than Cydia itself. It&#8217;s faster and has a much better repository of apps.</p>
<p>I managed to get a new interface skin, called MP2 iOS4 which I have been in love with (watch the video review on <a href="http://www.youtube.com/watch?v=INi_vfQdWXY">Youtube</a>). This has become my obsession recently as I get so show it to many people &#8212; even my boss.</p>
<p>The new interface is brilliant and it is designed with a refreshing amount of detail. The Weather app does not have a new icon, and it sticks out  like a soar  thumb because apparently, the theme management app  WinterBoard does not  have API for it. Therefore, the skin developers  are waiting for an  update so they can implement some more icons.</p>
<p>The downside is that it has noticeably slowed my phone down. It took 3  seconds for the lock screen to show when I pressed Home &#8212; but that only  happened once.</p>
<p>Not sure if the theme is responsible for the slowdown of the phone or if it&#8217;s a common side-effect of jailbreaking.</p>
<p>On the other hand, MyWi starts up and I was able to connect to it, even with WEP security enabled. I was ecstatic since I can use it to get free internet anywhere without having to pay for it.</p>
<p>The app takes control of the Wi-fi chip and makes the phone work like a router. Do keep in mind that the Wi-fi chip is remarkable less powerful than that of a router as it can only perform as per it&#8217;s size.</p>
<p>It worked for the first few days and I enjoyed it although recently it does not seem to work consistently. Also heats up the phone significantly. This is perhaps the reason why the app was banned.</p>
<p>Most other apps on the Rock repositories are not worth installing on my phone. The collection of useful tools is very limited.</p>
<p>So basically, I have learned that the apps and skins that you get from Cydia and Rock can severely damage your experience with the iPhone. I am starting to believe there is good reason why they were not allowed in the store.</p>
<p>Since I pay a hefty sum every month to O2, I want my iPhone to remain a walled garden for now. So I am restoring the device with iTunes to remove all jailbroken apps and settings right now as I write this post.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=x2R6KKu_fUo:Tgx5hnHFCgY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=x2R6KKu_fUo:Tgx5hnHFCgY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=x2R6KKu_fUo:Tgx5hnHFCgY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=x2R6KKu_fUo:Tgx5hnHFCgY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=x2R6KKu_fUo:Tgx5hnHFCgY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=x2R6KKu_fUo:Tgx5hnHFCgY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=x2R6KKu_fUo:Tgx5hnHFCgY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/x2R6KKu_fUo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2010/08/a-case-against-jailbreaking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2010/08/a-case-against-jailbreaking/</feedburner:origLink></item>
		<item>
		<title>Computer Woes and the final plunge to Mac</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/iJ-qFs6CdGM/</link>
		<comments>http://azadcreative.com/2010/03/computer-woes-and-the-final-plunge-to-mac/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 23:59:56 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=421</guid>
		<description><![CDATA[The trustee Dell Studio has served me well for over a year. The slick stylish laptop came with Windows Vista and I have to say that I was rather happy with it. That was until the problems started popping up. &#8230; <a href="http://azadcreative.com/2010/03/computer-woes-and-the-final-plunge-to-mac/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p>The trustee <a href="http://www.euro.dell.com/uk/en/home/Laptops/laptop-studio-1555/pd.aspx?refid=laptop-studio-1555&amp;s=dhs&amp;cs=ukdhs1">Dell Studio</a> has served me well for over a year. The slick stylish laptop came with Windows Vista and I have to say that I was rather happy with it. That was until the problems started popping up.<span id="more-421"></span></p>
<h2>Woes</h2>
<p>The hard-drive started making noise and the box itself would get burning hot after long hours of usage. I learned to live with it. I would give it a bit &#8220;rest&#8221; every now and then. It was also a way of giving myself a break and take a walk.</p>
<p>Unfortunately more problems started appearing. At first, application crashes and then the dreaded blue screen of death. It started to disrupt my workflow and I found it rather distressing. TortoiseSVN failed to start (it would show a crash notification at system startup) which made life very difficult as there are very few alternative SVN clients that work as well. The Photoshop crashes cost me a lot of headaches. The PC had a bad temper and I tried not to anger it by not using it for too long.</p>
<p>The problem became acute after an automatic system update. The system would not boot and would restart over an over again. I was able to diagnose the problem and it turned out that Windows Update somehow managed to corrupt some system drivers hence the failure to boot. The System Repair application was unable to do anything after repeated tries. The only option left at this point was to reinstall a fresh copy.</p>
<h2>Ubuntu Live-CD to the rescue.</h2>
<p>Tried to salvage as much data as possible from the Hard Drive but repeated efforts to back up files from the hard-drive failed as the computer randomly shut down during file transfer operations. I managed to get some stuff out of the computer into a portable Hard-drive.</p>
<p>Luckily, my work files were backed up in <a href="https://www.dropbox.com/">Dropbox</a>, which turned out to be a lifesaver.</p>
<h2>Windows 7</h2>
<p>I ordered a copy of Windows 7 which I thought might save the laptop. I installed a fresh copy wiping out my entire drive. I lost all my music, photos and everything I owned.</p>
<p>After the installation of Windows 7, I tried to get it to connect to the company VPN but after repeated tried, I failed. Even the company that manages our VPN failed to help me resolve this issue.</p>
<p>I missed a deadline and put myself in a very bad situation at work because of this. Telling the boss that I am having issues with the laptop is like telling the teacher that the dog ate your homework.</p>
<h2>The final plunge</h2>
<p>I went to the Apple Store in <a href="http://maps.google.co.uk/maps?q=Brent+Cross+Shopping+Centre&amp;oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;um=1&amp;ie=UTF-8&amp;hq=&amp;hnear=Brent+Cross+Shopping+Centre,+Prince+Charles+Dr,+London+NW4&amp;gl=uk&amp;ei=SrOmS-TwOovu0gS04ez4CQ&amp;sa=X&amp;oi=geocode_result&amp;ct=title&amp;resnum=1&amp;ved=0CAoQ8gEwAA">Brent Cross Shopping Centre</a> and purchased an 27&#8243; iMac.  It is a beautifully designed machine with an outstanding Operating System and a wide array of quality software. I can now understand why there is a fanboy culture around Apple products.</p>
<p>I am done with Microsoft and the world of PC. I am tired of fighting with the computer and making it work. Computers should &#8220;just work&#8221;.</p>
<p>I have taken the plunge and converted fully to the Mac platform.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=iJ-qFs6CdGM:fPDoS0TbzwU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=iJ-qFs6CdGM:fPDoS0TbzwU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=iJ-qFs6CdGM:fPDoS0TbzwU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=iJ-qFs6CdGM:fPDoS0TbzwU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=iJ-qFs6CdGM:fPDoS0TbzwU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=iJ-qFs6CdGM:fPDoS0TbzwU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=iJ-qFs6CdGM:fPDoS0TbzwU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/iJ-qFs6CdGM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2010/03/computer-woes-and-the-final-plunge-to-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2010/03/computer-woes-and-the-final-plunge-to-mac/</feedburner:origLink></item>
		<item>
		<title>Zero Nine</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/mHyAEzbwWqY/</link>
		<comments>http://azadcreative.com/2010/01/zero-nine/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 00:05:15 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=416</guid>
		<description><![CDATA[Whew! Another year comes to an end and what a year this has been. Perhaps the most eventful, colourful and wonderful year of my life so far. There has been so many ups and downs &#8212; more downs than ups &#8230; <a href="http://azadcreative.com/2010/01/zero-nine/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p>Whew! Another year comes to an end and what a year this has been. Perhaps the most eventful, colourful and wonderful year of my life so far. There has been so many ups and downs &#8212; more downs than ups but at the end it has been a difficult but wonderful year.</p>
<p><em>This is a very personal post &#8212; not the techie type post that this site has seen before. I am blogging after such a long time and so much has happened since my last post that I feel like sharing a few bits a pieces. Not writing for anyone in particular &#8212; maybe just for myself.</em><span id="more-416"></span></p>
<h2>Work</h2>
<p>The past year was a year of extremes. When times were good, they were extremely good. Bad times were equally bad &#8212; I suppose to maintain equilibrium.</p>
<p>Started off working for an agency that provided regular work. It was a wonderful opportunity to design and develop quite a lot of corporate websites. But due to the recession, the agency was struggling to stay afloat. I suppose websites became a matter of lower priority compared to staying in business for a lot of our clients.</p>
<p>The troubles began when work was short and so was money, at least for me. I decided to leave the agency and work on my own. I even considered becoming a full-time blogger. Leaving a somewhat secure position and working on my own during the worst economic crisis of our generation was very scary. I started this blog around the same time of the year and hoped that a few contracts would start coming in soon.</p>
<p>And they did! Over the latter half of the year I have been tied to a contract with a small company. It has been a challenging but tremendously rewarding experience so far. What started off as a difficult year turned out to be a quite a good one.</p>
<h2>Blogging</h2>
<p>Azadcreative.com began its journey in 2009. I have given blogging a shot quite a few times before and even reached the front-page of Digg.com once (with an article called <a href="http://edevil.wordpress.com/2005/11/14/javascript-libraries-roundup/" target="_blank">Javascript Libraries Roundup</a>), but none of them were serious attempts. But this is my definitive attempt to build an online identity. Discarding the silly alias <em>eDevil </em>and developing a brand around my real name is what I had in mind.</p>
<p>The design completed around March and I started blogging around the same time. My first couple of months as a blogger were tremendously successful. A couple of posts received great feedback from readers.</p>
<p>Unfortunately I have not been a regular blogger due to exhaustion from work and a few health issues. Lacking the time and energy to spend on regular writing, I discarded the site and since the initial success here has been no posts. Although, I did manage to keep it spam free and respond to a few comments, I would have liked to do a lot more.</p>
<p>The other issue with technical writing is that readers often point out mistakes or ask questions about implementation and bugs. As the author of the site, it becomes the responsibility to provide &#8220;support&#8221; to the readers, which I have not been able to do.</p>
<p>Moving onwards, this year there will be a major redesign with a brand new portfolio and lab section. This website needs to be nurtured, polished and taken care of. I made a <a href="http://project52.info/" target="_blank">promise to write regularly</a> this year. Hopefully I shall once again build a loyal readership that I once used to have.</p>
<h2>Discipline</h2>
<p>This year the aim is to bring discipline to every aspect of my life. From waking up at a regular time and showing up at work at 9 AM sharp, eating healthy and regular excercise to mainitaining my online influence through my blog. Another area of of great focus will be networking with people that matter on <a href="http://twitter.com/azadcreative">twitter </a>and <a href="http://www.facebook.com/saddam.azad">facebook</a>.</p>
<p>Getting things done in an organized manner and meeting deadlines, managing time better to maximise productivity are on the new year&#8217;s resolution list. I know that they are far too generic but I am working on the development of methodologies that quantify the objectives and their progress.</p>
<p>For instance, I have developed a sophisticated calendar and bookmarks sync system between my iMac at work, my Dell Studio which I use at home and my iPhone. This helps me keep track of projects and tasks that need attention.</p>
<p>This year will be a year of personal development through disciplined actions and I am excited to share this journey through this blog.</p>
<h2>Health Issues</h2>
<p>Throughout 2009, I suffered from chronic pain issues and constant fatigue. What appeared to be a bad case of flu that I have been sufferring from August through to December turned out to be Tuberculosis (and Pneumonia affecting both sides of my lungs) when I was hospitalised a week before Chistmas. I went through a complete physical collapse and had to stay in the hospital for two whole weeks until I was released on New Year&#8217;s Eve.</p>
<p>I am currently going through active treatment by the NHS which has helped me recover quite a lot. The recovery from the collapse has been a blessing in a way. I feel refreshed &#8212; no longer burned out by fatigue or coughing like an old man.</p>
<p>The two weeks in an isolated chamber in the hospital gave me time to think about what has been going on in my life and what I need to do go get things done in the following months/years. In a strange way I am glad I ended up in a hospital. I came out a brand new man.</p>
<h2>The new decade, a new beginning</h2>
<p>Looking forward to making great positive changes to myself and things that surround me. New energy and drive to achieve new heights &#8212; both in the online and offline world. With a lot to look forward to in the year 2010, I am tremendously excited.</p>
<p>New work opportunities, chance to gain qualifications, connect with old friends, travel the continent and a whole lot more is on the cards. With a lot of discipline, this year might just end up topping the past year as the best ever. I do believe the best is yet to come &#8211; being the glass-half-full kind of guy that I am.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=mHyAEzbwWqY:s_hZSm8smMY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=mHyAEzbwWqY:s_hZSm8smMY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=mHyAEzbwWqY:s_hZSm8smMY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=mHyAEzbwWqY:s_hZSm8smMY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=mHyAEzbwWqY:s_hZSm8smMY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=mHyAEzbwWqY:s_hZSm8smMY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=mHyAEzbwWqY:s_hZSm8smMY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/mHyAEzbwWqY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2010/01/zero-nine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2010/01/zero-nine/</feedburner:origLink></item>
		<item>
		<title>The Art of Crafting Beautiful Stylesheets</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/jVcMde4KVbo/</link>
		<comments>http://azadcreative.com/2009/04/the-art-of-crafting-beautiful-stylesheets/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:06:27 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=304</guid>
		<description><![CDATA[Crafting beautiful stylesheets is not a dark art. Yes, it takes discipline, commitment and persistence but with a few tricks up your sleeve, you too can be a CSS ninja. Let me show you a few techniques I use to &#8230; <a href="http://azadcreative.com/2009/04/the-art-of-crafting-beautiful-stylesheets/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p><em>Crafting beautiful stylesheets is not a dark art. Yes, it takes discipline, commitment and persistence but with a few tricks up your sleeve, you too can be a CSS ninja.<br />
</em></p>
<p><em>Let me show you a few techniques I use to craft readable, maintainable and easy to debug stylesheets.</em><span id="more-304"></span></p>
<h2>File naming convention</h2>
<p>I follow a simple file naming convention across all my projects. It is simple and very effective way of maintaining CSS files. I have seen many designers use obscure names such as <strong>main.css</strong> or <strong>style.css</strong> for their stylesheets. I think the names can carry a little bit depth so you know what each file does in a quick glance.</p>
<p>Here is the file structure for one of my client&#8217;s website:</p>
<div id="attachment_306" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-306" title="naming_convention" src="http://azadcreative.com/wp-content/uploads/2009/04/naming_convention.png" alt="CSS Naming Convention" width="500" height="117" /><p class="wp-caption-text">CSS Naming Convention</p></div>
<p><strong>style_all.css</strong><br />
Contains the <a href="http://developer.yahoo.com/yui/reset/">CSS Reset</a> and a few more goodies that applies to all browsers and platforms. This is also a good place to place the link colours and styles for elements generated from WYSIWYG editors in the CMS.</p>
<p><strong>style_screen.css</strong><br />
The main stylesheet file that contains the style for the entire layout. We will have a deeper look into this file in a moment.</p>
<p><strong>style_screen_IE7.css</strong><br />
Stylesheet specific to Internet Explorer 7. Most projects I work on does not need a specific stylesheet for IE7 but this is just for sake of understanding my naming convention.</p>
<p><strong>style_screen_lt-IE7.css</strong><br />
Stylesheet that applies to all versions of Internet Explorer below version 7.</p>
<p><strong>style_print.css</strong><br />
The print stylesheet where you are supposed to get rid of all images and present only the nice and clean text.</p>
<p>This convention is very flexible. If you need a specific stylesheet for IE6, for instance, go with <strong>style_screen_IE6.css</strong>. For handhelds, it would be <strong>style_handheld.css</strong> and so on so forth.</p>
<p>The commercial CMS system I work with at my agency has a function that checks the stylesheets folder for the files and applies appropriate Conditional Comments automatically. I might release that bit of code in the future (if I can convince my project manager!)</p>
<h2>Modularize</h2>
<p>Let us have an in-depth look at style_screen.css which is our main stylesheet. This file tends to get very large so it is very important to separate the styles into sections.</p>
<p>I declare the sections in the CSS at the beginning of the stylesheet.</p>
<div id="attachment_357" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-357" title="modularize" src="http://azadcreative.com/wp-content/uploads/2009/04/modularize.png" alt="Separate your CSS file into sections" width="500" height="286" /><p class="wp-caption-text">Separate your CSS file into sections</p></div>
<p>Hint: Press Ctr+F (or Mac+F) and type in =FORMS and it skips straight to the Forms section. I find this quite a time saver.</p>
<h3>Positioning</h3>
<p>Define the layout structure and the positioning of the basic elements. The Header, the Content section, the Sidebar and the Footer. The first thing I do when I start coding a site is to get the frame right, not worrying about the details at this point.</p>
<div id="attachment_314" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-314" title="wireframe" src="http://azadcreative.com/wp-content/uploads/2009/04/wireframe.png" alt="Define the Basic Structure first" width="500" height="400" /><p class="wp-caption-text">Define the Basic Structure first</p></div>
<h3>Typography</h3>
<p>Contains font definitions for global and all general elements. Define the headers (h1, h2 etc) and paragraph styles, the lists, blockquotes and anything that deals with the presentation of text.</p>
<div id="attachment_361" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-361" title="typography" src="http://azadcreative.com/wp-content/uploads/2009/04/typography.png" alt="Separate Font Definitions from layout styles" width="500" height="257" /><p class="wp-caption-text">Separate Font Definitions from layout styles</p></div>
<h3>Layout styles</h3>
<p>Now that the layout positioning and typography is taken care of, you can now focus on the site design.</p>
<p>You can break this down further with sub-sections if this section starts to get too long. Maintaining proper code indentation and hierarchy (which is discussed below) will help unclutter the layout styles.</p>
<h3>Other sections</h3>
<p>Usually, I create a separate section for the Forms, CMS-specific code<strong> </strong>etc. Feel free to  create new sections for your own project, depending on your needs.</p>
<p>The advantages of splitting the code into sections becomes obvious once you have to debug or make changes to an old project. You will feel that it is much easier to browse the code and focus where you need to.</p>
<h2>Indentation and hierarchy</h2>
<p>Top level elements are indented least. The immediate children of the top-level element is indented once. Their children in indented twice, and so on so forth.</p>
<div id="attachment_321" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-321" title="indent" src="http://azadcreative.com/wp-content/uploads/2009/04/indent.png" alt="Indent properly" width="500" height="365" /><p class="wp-caption-text">Indent properly and maintain the parent-child hierarchy</p></div>
<p>Not only does it look pretty and readable, it makes pin-pointing problems a lot easier. Yes, there is a not of white space that adds bytes to the file size but you can always compress the code before you publish.</p>
<p>For example, you are having issues with the <strong>Search </strong>box in your page. The code must be within the <strong>Layout</strong> section under the parent <strong>Sidebar</strong>. With proper modularization and indentation, you will see how easy it is to find what you are looking for.</p>
<h2>Categorise, don&#8217;t alphabetise</h2>
<p>Some designers have said that alphabetizing the CSS properties is an effective way of organisation because it makes maintenance easier. I beg to differ from that opinion. I find categorising the properties by type is a lot more effective.</p>
<pre class="brush: css;">selector {
font-size: 12px;
line-height: 15px;
text-transform: uppercase;

padding: 10px;
margin: 5px;

background: #000;
border: 1px solid #222;
}</pre>
<p>In the example above, the properties are grouped into ones that manipulate text, deal with space (margin and padding) and block-level visual cues  (background and border).</p>
<p>If the same selectors were alphabetised, this is what it would look like:</p>
<pre class="brush: css;">selector {
background: #000;
border: 1px solid #222;
font-size: 12px;
line-height: 15px;
margin: 5px;
padding: 10px;
text-transform: uppercase;
}</pre>
<p>As you can see, the readability of the CSS is vastly reduced. I usually place the positioning properties first, followed by text-properties, spacing and the others.</p>
<h2>Conclusion</h2>
<p>As you can see, this is not much complicated. It is these simple things that can help a front-end developer keep their sanity. Beautiful stylesheets are a first step to coding zen.</p>
<p>Do you have any suggestions for creating beautiful stylesheets that are easy to maintain and debug? Please do share.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=jVcMde4KVbo:5yxg0chgtb8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=jVcMde4KVbo:5yxg0chgtb8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=jVcMde4KVbo:5yxg0chgtb8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=jVcMde4KVbo:5yxg0chgtb8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=jVcMde4KVbo:5yxg0chgtb8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=jVcMde4KVbo:5yxg0chgtb8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=jVcMde4KVbo:5yxg0chgtb8:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/jVcMde4KVbo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/04/the-art-of-crafting-beautiful-stylesheets/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/04/the-art-of-crafting-beautiful-stylesheets/</feedburner:origLink></item>
		<item>
		<title>Introducing Harbour: A Premium Theme for WordPress</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/rxIolmhYTsI/</link>
		<comments>http://azadcreative.com/2009/04/introducing-harbour-premium-theme-for-wordpress/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 12:29:44 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=319</guid>
		<description><![CDATA[Harbour is my first submission to Envato&#8217;s theme marketplace, ThemeForest. It is a WordPress theme designed for personal and business blogs. Harbour is the product of a month of sleepless nights and endless hours of work. I am very happy &#8230; <a href="http://azadcreative.com/2009/04/introducing-harbour-premium-theme-for-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Harbour</a> is my first submission to Envato&#8217;s theme marketplace, ThemeForest. It is a WordPress theme designed for personal and business blogs.</p>
<p>Harbour is the product of a month of sleepless nights and endless hours of work. I am very happy with the result and I was very excited when it was approved for sale.<span id="more-319"></span></p>
<h2>The Idea</h2>
<p>Inspired by a postcard sent by a friend from Australia. I loved the colours so much that I thought it would make a great website template. I started playing with Photoshop and came up with a neat and clean design in a few hours.</p>
<h2>Desire for passive income</h2>
<p>One of the main driving forces behind all the hours I put in was the desire to make some passive income. A few sales at ThemeForest could generate a steady stream of income.</p>
<p>I have been following a few popular designers at the Envato marketplaces and have seen them make quite a significant income. I thought I would use my spare time to make something to make a bit of money in these tough economic times.</p>
<h2>Something to show for myself</h2>
<p>Every designer wants to entend their portfolio and add as much quality work as possible. A premium theme in an Envato Marketplace is a good addition to the portfolio.</p>
<p>Also, it provides quite a bit of exposure in the design community, which has been one another driving force behind this theme.</p>
<p>Without further ado, let me introduce you to Harbour:</p>
<div id="attachment_334" class="wp-caption alignnone" style="width: 510px"><a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative"><img class="size-full wp-image-334" title="harbour_front" src="http://azadcreative.com/wp-content/uploads/2009/04/harbour_front.png" alt="The Front Page" width="500" height="500" /></a><p class="wp-caption-text">The Front Page</p></div>
<div id="attachment_335" class="wp-caption alignnone" style="width: 510px"><a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative"><img class="size-full wp-image-335" title="harbour_item" src="http://azadcreative.com/wp-content/uploads/2009/04/harbour_item.png" alt="The Post Page Footer where you can save/share the article and leave a comment" width="500" height="532" /></a><p class="wp-caption-text">The Post Page Footer where you can save/share the article and leave a comment</p></div>
<div id="attachment_336" class="wp-caption alignnone" style="width: 350px"><a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative"><img class="size-full wp-image-336" title="harbour_livesearch" src="http://azadcreative.com/wp-content/uploads/2009/04/harbour_livesearch.jpg" alt="The awesome live search" width="340" height="284" /></a><p class="wp-caption-text">The awesome live search</p></div>
<p>Visit ThemeForest.net to see more screenshots of the <a href="http://themeforest.net/theme_previews/39585-harbour-theme-for-wordpress">Harbour Theme</a>.</p>
<h2>Features</h2>
<p>Harbour is a very smart theme. It takes 2 minutes to install and customise the theme to fit your needs, whatever it may be.</p>
<ul>
<li>It uses <a href="http://wiki.github.com/sorccu/cufon/">Cufon</a> for text-replacement so the your brand-name and the tagline are automatically generated. There is no need to edit and slice the PSD to change logo and tagline!</li>
<li>The CSS is incredibly modular and makes modifications very simple.</li>
<li>The PSD files are layered and grouped. It also contains guides and slices for your convenience!</li>
<li>The Theme Options let you customize your theme to your needs.</li>
<li>You can design your own theme based on Harbour in a few minutes. Just follow a few simple steps as shown in the Documentation.</li>
<li>Clickable, interactive Widget-ready sidebar.</li>
<li> AJAX  Live Search for ease of use.</li>
</ul>
<p>There is a <a href="http://azadcreative.com/labs/harbour/">working live demo</a> if you want to look in depth.</p>
<h2>The cause</h2>
<p>The money from the sales will go to my University fund. Please help me get a qualification whilst making your weblog look and feel new.</p>
<p>It is reasonably priced at 25USD. If you are feeling like your blog needs a refresh, please <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">consider purchasing the theme</a>. Thank you.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=rxIolmhYTsI:odIlxaqLl3Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=rxIolmhYTsI:odIlxaqLl3Q:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=rxIolmhYTsI:odIlxaqLl3Q:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=rxIolmhYTsI:odIlxaqLl3Q:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=rxIolmhYTsI:odIlxaqLl3Q:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=rxIolmhYTsI:odIlxaqLl3Q:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=rxIolmhYTsI:odIlxaqLl3Q:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/rxIolmhYTsI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/04/introducing-harbour-premium-theme-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/04/introducing-harbour-premium-theme-for-wordpress/</feedburner:origLink></item>
		<item>
		<title>4 Awesome Portfolio Design Trends</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/gRax9mOzE6A/</link>
		<comments>http://azadcreative.com/2009/04/4-awesome-portfolio-design-trends/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 16:30:59 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=260</guid>
		<description><![CDATA[Being a huge design affectionado, I like to bookmark all design portfolios I come across. I noticed that a few trends have emerged over the last 12 months while going through my bookmarks. Most designers have started using innovative design &#8230; <a href="http://azadcreative.com/2009/04/4-awesome-portfolio-design-trends/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p>Being a huge design affectionado, I like to bookmark all design portfolios I come across. I noticed that a few trends have emerged over the last 12 months while going through my bookmarks. Most designers have started using innovative design patterns that have emerged in the recent years. The use of lightbox, for instance, has become universal.</p>
<p>Let&#8217;s have a look the latest and the hottest techniques designers use for their own online portfolio.<span id="more-260"></span></p>
<h2>1. The carousel</h2>
<p>Everybody loves the carousel Javascript effect. Since its inception, it has quickly become the most popular choice amonst designers for showcasing their work. Here are few examples of cool implementation of the carousel.</p>
<div id="attachment_261" class="wp-caption alignnone" style="width: 512px"><a href="http://www.eisforeffort.com/"><img class="size-full wp-image-261" title="portfolio_robyoung" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_robyoung.png" alt="portfolio_robyoung" width="502" height="232" /></a><p class="wp-caption-text">Rob Young shows off his design work inside a Macbook Pro. Click on the screen and you are up for a surprise. Stunning and very original.</p></div>
<div id="attachment_263" class="wp-caption alignnone" style="width: 512px"><a href="http://www.jarnheimer.com/"><img class="size-full wp-image-263" title="portfolio_jarnheimer" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_jarnheimer.png" alt="portfolio_jarnheimer" width="502" height="297" /></a><p class="wp-caption-text">Viktor Jarnheimer uses an iMac carousel</p></div>
<div id="attachment_264" class="wp-caption alignnone" style="width: 512px"><a href="http://www.scratch22.net/"><img class="size-full wp-image-264" title="potfolio_scratch22" src="http://azadcreative.com/wp-content/uploads/2009/04/potfolio_scratch22.png" alt="potfolio_scratch22" width="502" height="221" /></a><p class="wp-caption-text">Zarne Dravitzki showcases his work in a cool grunge photo-frame</p></div>
<div id="attachment_266" class="wp-caption alignnone" style="width: 512px"><a href="http://www.csharpdesign.co.uk/"><img class="size-full wp-image-266" title="portfolio_csharp" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_csharp.png" alt="portfolio_csharp" width="502" height="320" /></a><p class="wp-caption-text">Chris Sharp uses a simple and elegant way to showcase this recent work.</p></div>
<div id="attachment_267" class="wp-caption alignnone" style="width: 512px"><a href="http://www.branded07.com/"><img class="size-full wp-image-267" title="portfolio_branded07" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_branded07.png" alt="portfolio_branded07" width="502" height="285" /></a><p class="wp-caption-text">Rob Palmer&#39;s portfolio in a cloud is clean, simple and simply stunning.</p></div>
<h2><strong>2. Grid with Lightbox</strong></h2>
<p>This is perhaps the most common portfolio design technique. But some designers have taken it to the next level by adding that extra bit of style. Here are a few world-class portfolios:</p>
<div id="attachment_269" class="wp-caption alignnone" style="width: 512px"><a href="http://www.sofasurfer.eu/"><img class="size-full wp-image-269" title="portfolio_sofasurfer" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_sofasurfer.png" alt="portfolio_sofasurfer" width="502" height="239" /></a><p class="wp-caption-text">Unnamed European designer who goes by the alias SofaSurfer.</p></div>
<div id="attachment_270" class="wp-caption alignnone" style="width: 512px"><a href="http://www.kiluka.ch"><img class="size-full wp-image-270" title="portfolio_kiluka" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_kiluka.png" alt="portfolio_kiluka" width="502" height="375" /></a><p class="wp-caption-text">Loïc Dupasquier uses cool onhover effects to make his portfolio look very cool.</p></div>
<div id="attachment_272" class="wp-caption alignnone" style="width: 512px"><a href="http://www.spoongraphics.co.uk/portfolio.html"><img class="size-full wp-image-272" title="porfolio_spoon" src="http://azadcreative.com/wp-content/uploads/2009/04/porfolio_spoon.png" alt="porfolio_spoon" width="502" height="232" /></a><p class="wp-caption-text">Very well known designer Chris Spooner showcases his work in a sort of vanilla lightbox style but it is still worth a mention.</p></div>
<h2><strong>3. Cover Flow</strong></h2>
<p>Originated from Apple&#8217;s iTunes, the Cover Flow has been ported to the web with Javascript and Flash. A lot of designers have adopted this style. While some use Flash, others go with Javascript.</p>
<div id="attachment_273" class="wp-caption alignnone" style="width: 512px"><img class="size-full wp-image-273" title="portfolio_corvusart" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_corvusart.png" alt="portfolio_corvusart" width="502" height="221" /><p class="wp-caption-text">Corvus Design Studio uses a dynamically loading Flash to showcase their work</p></div>
<div id="attachment_274" class="wp-caption alignnone" style="width: 512px"><a href="http://www.thomasprior.co.uk/portfolio.html"><img class="size-full wp-image-274" title="portfolio_thomasprior" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_thomasprior.png" alt="portfolio_thomasprior" width="502" height="242" /></a><p class="wp-caption-text">Excellent portfolio of Thomas Prior who uses Javascript instead. You have to drag the button at the bottom to scroll. I think it is ingenious and very original.</p></div>
<h2><strong>4. Accordion</strong></h2>
<p>Accordions are commonly used in webdesign but only a handful of portfolios are designed using this technique.</p>
<div id="attachment_275" class="wp-caption alignnone" style="width: 512px"><a href="http://lisamoseley.com/"><img class="size-full wp-image-275" title="portfolio_lisamoseley" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_lisamoseley.png" alt="portfolio_lisamoseley" width="502" height="482" /></a><p class="wp-caption-text"> Lisa Moseley of Crush+Lovely uses a smooth accordion to showcase her work.</p></div>
<p><strong> </strong></p>
<div id="attachment_276" class="wp-caption alignnone" style="width: 491px"><a href="http://www.mariusroosendaal.com/"><img class="size-full wp-image-276" title="portfolio_roosendaal" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_roosendaal.png" alt="portfolio_roosendaal" width="481" height="481" /></a><p class="wp-caption-text"> Marius Roosendaal&#39;s portfolio is one of my favourites. This is an outstanding piece of work.</p></div>
<div id="attachment_278" class="wp-caption alignnone" style="width: 512px"><a href="http://www.jumpingjackrabbit.com/work.htm"><img class="size-full wp-image-278" title="portfolio_jackrabbit" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_jackrabbit.png" alt="portfolio_jackrabbit" width="502" height="165" /></a><p class="wp-caption-text"> Jackrabbit team showcases their print and web design work in a nice sliding accordion box.</p></div>
<div id="attachment_279" class="wp-caption alignnone" style="width: 441px"><a href="http://www.fernandokruger.com.br/"><img class="size-full wp-image-279" title="portfolio_kruger" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_kruger.png" alt="portfolio_kruger" width="431" height="505" /></a><p class="wp-caption-text">Brazilian designer Fernando Kruger uses similar style as Roosendaal to show off his creative web design portfolio.</p></div>
<h2><strong>Call them deviant, call them creative</strong></h2>
<p><a href="http://jameslaicreative.com/"><img class="size-full wp-image-281 alignnone" title="portfolio_jameslai1" src="http://azadcreative.com/wp-content/uploads/2009/04/portfolio_jameslai.png" alt="portfolio_jameslai1" /></a></p>
<p>Although the last one is not a &#8220;trend&#8221;, I thought it was good enough to get a mention. Do you have any suggestions or have you come across a well designed portfolio that fall into any of the categories above?</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=gRax9mOzE6A:9r_GWtaonp4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=gRax9mOzE6A:9r_GWtaonp4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=gRax9mOzE6A:9r_GWtaonp4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=gRax9mOzE6A:9r_GWtaonp4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=gRax9mOzE6A:9r_GWtaonp4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=gRax9mOzE6A:9r_GWtaonp4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=gRax9mOzE6A:9r_GWtaonp4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/gRax9mOzE6A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/04/4-awesome-portfolio-design-trends/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/04/4-awesome-portfolio-design-trends/</feedburner:origLink></item>
		<item>
		<title>Designing Post Footers: Examples and Best Practices</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/w5xfRuQUiC0/</link>
		<comments>http://azadcreative.com/2009/04/designing-post-footers-examples-and-best-practices/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 00:42:16 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=184</guid>
		<description><![CDATA[One of the most oft-overlooked elements in a blog is the footer beneath the posts. I think it is a vital part of any blog design because most readers are likely to go down to that spot below your post. &#8230; <a href="http://azadcreative.com/2009/04/designing-post-footers-examples-and-best-practices/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p><em>One of the most oft-overlooked elements in a blog is the footer beneath the posts. I think it is a vital part of any blog design because most readers are likely to go down to that spot below your post.</em></p>
<p>If the reader has scanned though the page all the way to the end of the post, he/she must have enjoyed reading the post. So why not take this opportunity to promote a few things? <em>Let me show you what you can do with it and how you can optimise it for best results.</em><span id="more-184"></span></p>
<h2><strong>Related posts</strong></h2>
<p>If your blog is well established and you have been blogging for a while, why not show a list of related articles at the bottom of your post? The readers may find something useful and stay on the site to read more.</p>
<p>Here are few examples:</p>
<p><a href="http://www.stopdesign.com"><img class="alignnone size-full wp-image-227" title="postfooter_related_stopdesign" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_related_stopdesign.png" alt="postfooter_related_stopdesign" width="335" height="168" /></a></p>
<p><a href="http://net.tutsplus.com/"><img class="alignnone size-full wp-image-226" title="postfooter_related_nettuts" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_related_nettuts.png" alt="postfooter_related_nettuts" width="393" height="194" /></a></p>
<p><a href="http://veerle.duoh.com/"><img class="alignnone size-full wp-image-228" title="postfooter_related_veerle" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_related_veerle.png" alt="postfooter_related_veerle" width="502" height="127" /></a></p>
<p><a href="http://www.freelanceswitch.com/"><img class="alignnone size-full wp-image-225" title="postfooter_related_freelanceswitch" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_related_freelanceswitch.png" alt="postfooter_related_freelanceswitch" width="502" height="191" /></a></p>
<p>For any blog with an archive of at least a year, I would recommend that you show a list of related articles below your posts. There are multiple <a id="j1yn" title="plugins" href="http://wordpress.org/extend/plugins/search.php?q=related+posts"><span class="misspell">plugins</span></a> for <span class="misspell">WordPress</span> that does this.</p>
<h2><strong>The Author</strong></h2>
<p>Most commonly used on multi-author blogs. It is usually a small paragraph about the author of the post containing links to his/her website or company. I suggest you keep it simple and tidy. A single paragraph with 3 or 4 lines is quite enough. Link to an &#8216;about&#8217; page if you have more to say. Use a thumbnail picture of the author to make it more personal.</p>
<p><a href="http://line25.com/"><img class="alignnone size-full wp-image-223" title="postfooter_author_line25" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_author_line25.png" alt="postfooter_author_line25" width="501" height="110" /></a></p>
<p><a href="http://www.tutorial9.net/"><img class="alignnone size-full wp-image-224" title="postfooter_author_tutorial9" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_author_tutorial9.png" alt="postfooter_author_tutorial9" width="502" height="125" /></a></p>
<h2><strong>Social networks</strong></h2>
<p>Let your readers engage with your content. Allow them to use social bookmarking and promote your content on social news sites.</p>
<p><a href="http://line25.com/"><img class="size-full wp-image-229 alignnone" title="postfooter_social_line25" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_social_line25.png" alt="postfooter_social_line25" width="213" height="164" /></a></p>
<p><a href="http://www.smashingmagazine.com/"><img class="size-full wp-image-231 alignnone" title="postfooter_social_smashingmag" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_social_smashingmag.png" alt="postfooter_social_smashingmag" width="325" height="104" /></a></p>
<p><a href="http://www.macalicious.com/"><img class="alignnone size-full wp-image-230" title="postfooter_social_macalicious" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_social_macalicious.png" alt="postfooter_social_macalicious" width="502" height="52" /></a></p>
<p><a href="http://www.tutorial9.net/"><img class="alignnone size-full wp-image-232" title="postfooter_social_tutorial9" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_social_tutorial9.png" alt="postfooter_social_tutorial9" width="502" height="173" /></a></p>
<h2><strong>Promote your <span class="misspell">RSS</span> Feed</strong></h2>
<p>Always, promote your <span class="misspell">RSS</span> Feed whenever you can. When someone has read all the way to the end, they must have enjoyed the post. So why not ask them to subscribe to the <span class="misspell">RSS</span>? It is simple trick that boosted the number of subscribers of my own blog. I always tell my clients to push the RSS feed as much as possible.</p>
<p>As you can see in some of the examples above, some people promote the RSS along with the Social bookmarking. Here are some more examples:</p>
<p><a href="http://www.problogger.com/"><img class="alignnone size-full wp-image-243" title="postfooter_rss_problogger" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_rss_problogger.png" alt="postfooter_rss_problogger" width="255" height="147" /></a></p>
<p><a href="http://www.dailyblogtips.com/"><img class="alignnone size-full wp-image-242" title="postfooter_rss_dailyblogtips" src="http://azadcreative.com/wp-content/uploads/2009/04/postfooter_rss_dailyblogtips.png" alt="postfooter_rss_dailyblogtips" width="502" height="33" /></a></p>
<h2><strong>Things you might want to promote</strong></h2>
<p>Do you have an e-book or do you sell design services? Make a small subtle promotion at the bottom of the post. Keep it small and unobtrusive. The reader should not get the feeling that you are trying to make a sale but rather try giving the impression that you are offering something genuinely helpful.</p>
<p>I will not provide any examples for this section because it would be a form of advertisement for the product, even if it is just a screenshot.</p>
<h2><strong>Other little things</strong></h2>
<ul>
<li><strong>Skip to comment form</strong><br />
Give your readers a link to quickly skip to the comment form. Making them scroll all the way to the bottom is bad <span class="misspell">juju</span>.</li>
</ul>
<ul>
<li><strong><span class="misspell">Trackback</span> URL</strong><br />
Let other bloggers link to you if they post something related to your post.</li>
</ul>
<h2><strong>Conclusion</strong></h2>
<p>To me the post footer is an important place to focus on when I design blogs. There are so many possibilities, depending on the type and niche of the blog. Another thing to keep in mind is to remember not to clutter the footer by adding too much content. Keep it neat and tidy.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=w5xfRuQUiC0:4aaakAw_58U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=w5xfRuQUiC0:4aaakAw_58U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=w5xfRuQUiC0:4aaakAw_58U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=w5xfRuQUiC0:4aaakAw_58U:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=w5xfRuQUiC0:4aaakAw_58U:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=w5xfRuQUiC0:4aaakAw_58U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=w5xfRuQUiC0:4aaakAw_58U:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/w5xfRuQUiC0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/04/designing-post-footers-examples-and-best-practices/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/04/designing-post-footers-examples-and-best-practices/</feedburner:origLink></item>
		<item>
		<title>How to separate Comments and Trackbacks in WordPress</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/qw7a2T7SYxo/</link>
		<comments>http://azadcreative.com/2009/04/how-to-separate-comments-and-trackbacks-in-wordpress/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:22:26 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=163</guid>
		<description><![CDATA[Comments, Trackback and Pingbacks are mixed up and shown together by default in WordPress. For presentational purposes, you want to separate them and list them separately. Here&#8217;s a simple trick that shows how to. Why you might want to separate &#8230; <a href="http://azadcreative.com/2009/04/how-to-separate-comments-and-trackbacks-in-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p><em>Comments, Trackback and Pingbacks are mixed up and shown together by default in WordPress. For presentational purposes, you want to separate them and list them separately. Here&#8217;s a simple trick that shows how to.</em></p>
<p>Why you might want to separate comments and trackbacks:</p>
<ul>
<li>Makes the comment list look a lot more neat</li>
<li>Trackbacks interrupt on the flow of conversation in the comments</li>
<li>Trackbacks are basically link-juice for both sides, which you may want to show below the comments<span id="more-163"></span></li>
</ul>
<p>What makes the comments and trackbacks show up together is this line in comments.php:</p>
<pre class="brush: php;">[/sourcecode]

Luckily, WordPress offers termendous flexibility to manipulate the template and basically lets you do almost anything imaginable. By simply adding a parameter, we can filter the comments. The following returns only comments:
[sourcecode language=&quot;php&quot;]</pre>
<p>We can further manipulate the presentation of the comments. By adding a callback function, we can now change the way comments are displayed. So this is what it looks like:</p>
<pre class="brush: php;">[/sourcecode]

The function &lt;em&gt;ac_comment&lt;/em&gt; is called from functions.php. So add the following lines to your functions:
[sourcecode language=&quot;php&quot;]function ac_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?&gt;
&lt;div class=&quot;&lt;?php if ($comment-&gt;comment_author_email ==&quot;&gt;&quot; id=&quot;comment-&quot;&gt;
&lt;div class=&quot;commentHeader&quot;&gt;
&lt;div class=&quot;gravatar&quot;&gt;
' ); ?&gt;
&lt;/div&gt;
&lt;div class=&quot;commentMeta&quot;&gt;
&lt;div class=&quot;commentAuthor&quot;&gt;

&lt;/div&gt;
&lt;div class=&quot;replyDate&quot;&gt;

&lt;a href=&quot;&lt;?php echo htmlspecialchars( get_comment_link( $comment-&gt;comment_ID ) ) ?&gt;&quot;&gt;&lt;/a&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;commentBody&quot;&gt;

comment_approved == '0') : ?&gt;

&lt;em&gt;&lt;/em&gt;

&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>As you can see, you can do pretty much anything you want to it. Off course, replace you@yourdomain.com with your admin email address so that author comments get a unique classname which can be styled with CSS. Here&#8217;s an example of what it should looks like in my theme:</p>
<p><img class="alignnone size-full wp-image-169" title="a-post-with-an-unordered-list-c2ab-azad-creative_1238605215500" src="http://azadcreative.com/wp-content/uploads/2009/04/a-post-with-an-unordered-list-c2ab-azad-creative_1238605215500.png" alt="a-post-with-an-unordered-list-c2ab-azad-creative_1238605215500" width="512" height="214" /></p>
<p>On the other hand, the Trackbacks and Pingbacks can be called with this function:</p>
<pre class="brush: php;">[/sourcecode]

It uses the parameter pings as type and calls on the ac_pings callback function.

Here is the code in functions.php
[sourcecode language=&quot;php&quot;]function ac_pings($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?&gt;
&lt;div id=&quot;ping-&lt;?php comment_ID(); ?&gt;&quot; class=&quot;ping&quot;&gt;

&lt;/div&gt;
</pre>
<p>That should separate the comments and trackbacks quite neatly, giving you complete flexibility over the presentation. I will leave it to you style them with your own CSS.</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=qw7a2T7SYxo:etM_IrELyN4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=qw7a2T7SYxo:etM_IrELyN4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=qw7a2T7SYxo:etM_IrELyN4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=qw7a2T7SYxo:etM_IrELyN4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=qw7a2T7SYxo:etM_IrELyN4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=qw7a2T7SYxo:etM_IrELyN4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=qw7a2T7SYxo:etM_IrELyN4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/qw7a2T7SYxo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/04/how-to-separate-comments-and-trackbacks-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/04/how-to-separate-comments-and-trackbacks-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>5 Harsh Truths about Web Design firms</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/-Ir7MJeUBmM/</link>
		<comments>http://azadcreative.com/2009/03/5-harsh-truths-about-web-design-firms/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 17:08:46 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=120</guid>
		<description><![CDATA[Having worked for several Web Design firms in the past few years, I have come to realize why the state of the web is so poor when it comes to design, compliance to web standards and accessibility. There are very &#8230; <a href="http://azadcreative.com/2009/03/5-harsh-truths-about-web-design-firms/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p>Having worked for several Web Design firms in the past few years, I have come to realize why the state of the web is so poor when it comes to design, compliance to web standards and accessibility. There are very few good looking websites (as showcased by sites such as <a href="http://cssbeauty.com">cssbeauty</a>, <a href="http://cssmania.com">cssmania </a>etc) and even fewer truely standards-compliant and accessible sites.</p>
<p>Here are a few things that I have experienced myself and why I think most websites are, for lack of a better word, crap.</p>
<p><img class="alignnone size-full wp-image-249" title="untitled-2" src="http://azadcreative.com/wp-content/uploads/2009/04/untitled-2.jpg" alt="untitled-2" width="502" height="100" /></p>
<p><span id="more-120"></span></p>
<h2><strong>1.The Jack Of All Trade guys</strong></h2>
<p>As seen on most Job Search websites, the expectation from a &#8220;web designer&#8221; is far too high. Most web-design firms expect one single person to be an expert on Photoshop, HTML/CSS, Javascript, Flash and even PHP/Perl/ASP (and every other conceivable programming language in the world).</p>
<p>People who claim to be experts on all of the above mentioned subjects are not being truthful. The truth is that you would have to be some sort of a prodigious genius to be good in Design, Front-End and Back-End development at the same time.</p>
<p>What most companies do not realize is that the web is a very complex field and somebody who designs websites is probably is an artistic person. It is very unlikely that proper designers (by <em>proper </em>I mean those who have been to art school) know how to write code. Same argument goes for programmers, since they are logical problem solvers not visual people.</p>
<p>I am in favor of designers who know the possibilities and limits of the web and possibly know how to code HTML and CSS, but if they are too technical, their designs tend to be boxy and dull.</p>
<p>Someone who claims to be the jack of all trades is perhaps mediocre in both design and programming. The output they produce can only be mediocre at best.</p>
<h2><strong>2. Print designers designing websites</strong></h2>
<p>The problem here is that print designers fail to differentiate between print and web media. As a result, the output they produce contain non-web fonts (which leads to an excessive use of images), design patterns that become nightmares for developers, etc</p>
<p>It is really terribly easy to mock up something that looks pretty but is impractical. Something that looks cutting edge but is a nightmare to implement. Their lack of understanding of usability and implementation issues result in good looking PSD layouts which turn into awful, half-baked websites.</p>
<p>In my opinion, every &#8220;web designer&#8221; should be able to code HTML and CSS at least on a basic level. I am not talking about being a front-end wizard but just enough know-how on the way the web works.</p>
<h2><strong>3. It is a matter of revenue vs cost</strong></h2>
<p>Standards compliance and accessibility take second place in terms of priority to the cost of production. It is absolutely vital to reduce the number of days it takes to design and develop a website in order to maximize profit from a project. Which usually translates to the following things:</p>
<p>- No stylesheet for print or handheld<br />
- Use of tables when floats get too complicated<br />
- Use of CSS hacks to &#8220;make it work&#8221;<br />
- No time to validate markup or style<br />
- Bad browser support (As long as it works on IE, we&#8217;re fine.)</p>
<p>It is a sad reality that the quality of code, cross-browser support and accessibility issues are compromised for achieving cost-effectiveness.</p>
<h2><strong>4. Designers lack creative freedom</strong></h2>
<p>The Managing Director does not like green, or Chairman is not very fond of Georgia. Designers have to deal with asinine change requests from both their own managers and the client. In my experience, very few designs get approved without getting amended countless times before turning into an ugly bastard cousin of the original design.</p>
<h2><strong>5. Little concern for web standards</strong></h2>
<p>Very few Web Design Agency or Online Marketing firms employ a Front-End specialist for the HTML, CSS and Javascript. Developers usually take a &#8220;just make it work&#8221; attitude towards front-end coding. Getting it done fast is what matters, even if it means having to add non-standard attributes and ugly CSS hacks that do not validate.</p>
<p>I have to confess that I, myself have used ugly hacks just to &#8220;make it work&#8221; within the project deadline. I did have have time to research the actual cause of the issue and find a proper way to solve it. I knew it wouldn&#8217;t validate but I had to get it done in a short period of time.</p>
<p>Once again, the matter of cost-effectiveness arises here. Doing something the standards-compliant way usually takes more time and effort on the developer&#8217;s part. It is rather difficult to stick to the web-standards wagon when deadlines are tight, even for standards-conscious developers.</p>
<p>It is not a surprise to find table-infected, non-standard code coming out of even the biggest design firms.</p>
<h2><strong>Conclusion</strong></h2>
<p>The truth is that most web design firms are run by marketing professionals who <em>diversified</em> their product range by starting to offer web design solutions. Lacking the technical expertise, they hire the wrong guys for the job and output is often horrendous.</p>
<p>Got any other ideas why, despite having more web design firms than kebab shops, the state of the web is so poor?</p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=-Ir7MJeUBmM:k30ea4wyxzI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=-Ir7MJeUBmM:k30ea4wyxzI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=-Ir7MJeUBmM:k30ea4wyxzI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=-Ir7MJeUBmM:k30ea4wyxzI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=-Ir7MJeUBmM:k30ea4wyxzI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=-Ir7MJeUBmM:k30ea4wyxzI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=-Ir7MJeUBmM:k30ea4wyxzI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/-Ir7MJeUBmM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/03/5-harsh-truths-about-web-design-firms/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/03/5-harsh-truths-about-web-design-firms/</feedburner:origLink></item>
		<item>
		<title>Bulletproof CSS Sliding Doors</title>
		<link>http://feedproxy.google.com/~r/azadcreative/~3/RzlVYgdHd8Q/</link>
		<comments>http://azadcreative.com/2009/03/bulletproof-css-sliding-doors/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 00:40:57 +0000</pubDate>
		<dc:creator>Saddam Azad</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://azadcreative.com/?p=49</guid>
		<description><![CDATA[I have had to build a few sliding doors navigation menus in the last few weeks. I did a quick research and browsed though a few different implementations. To be perfectly honest, I found none of them satisfactory for various &#8230; <a href="http://azadcreative.com/2009/03/bulletproof-css-sliding-doors/">Continue reading <span class="meta-nav">&#8594;</span></a><p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for Wordpress: Harbour</a></strong></p>
]]></description>
			<content:encoded><![CDATA[<p>I have had to build a few sliding doors navigation menus in the last few weeks. I did a quick research and browsed though a few different implementations. To be perfectly honest, I found none of them satisfactory for various reasons. So I decided to crack the nut myself. <span id="more-49"></span></p>
<p>Click on the image below to skip to the demo.<a href="http://azadcreative.com/labs/demos/bulletproof_css_sliding_doors/"><img class="size-full wp-image-48 alignnone" title="Bulletproof CSS Sliding Doors" src="http://azadcreative.com/wp-content/uploads/2009/03/flash.jpg" alt="Bulletproof CSS Sliding Doors" width="510" height="80" /></a></p>
<h2>The problems with existing implementations</h2>
<p><strong>1. Not fully clickable</strong><img class="size-full wp-image-75 alignright" title="bulletproof_css_sliding_doors_alistapart" src="http://azadcreative.com/wp-content/uploads/2009/03/alistapart.png" alt="bulletproof_css_sliding_doors_alistapart" width="221" height="33" /><br />
Douglas Bowman&#8217;s <a href="http://www.alistapart.com/articles/slidingdoors2/">original CSS Sliding doors</a> only has one problem. There are 9 dead pixels to the left of every button. I wanted the entire button to be clickable.</p>
<p><strong>2. Uses empty &lt;span&gt; tags</strong><br />
Although it is perfectly valid to have empty spans, even in XHTML 1.0 Strict, I would rather not take this approach. I would like my markup to make sense to future developers.</p>
<p><strong>3. Causes inconsistencies in IE6</strong><img class="size-full wp-image-76 alignright" title="bulletproof_css_sliding_doors_kailoon" src="http://azadcreative.com/wp-content/uploads/2009/03/kailoon.png" alt="bulletproof_css_sliding_doors_kailoon" width="190" height="35" /><br />
Kailoon&#8217;s <a href="http://kailoon.com/css-sliding-door-using-only-1-image/">One Image solution</a> works perfectly. This is perhaps the most compatible solution there is. But there is a slight rendering issue in IE6. There is an extra bit of padding to the left of  each button. Off course, it can be fixed easily with a little Conditional CSS but it is not the ideal solution.</p>
<p>Also, kailoon adds a 4px padding to the anchors and then uses -4px margin on the &lt;span&gt; to cover it up. Although this mechanism works well, I am not a big fan of negative margins.</p>
<p><strong>4. Breaks when font-size is increased</strong><br />
The most common with most of these implementation is that they cannot cope with increased font-sizes.</p>
<p><strong>5. Uses li:hover which does not work in older browsers</strong><br />
The :hover pseudo-class is not supported by IE6 and below when applied to anything but an anchor. Hence, Stu Nicholls&#8217; <a href="http://www.cssplay.co.uk/menus/sliding_doors.html">100% Clickable Sliding Doors</a> does not function as expected on older browsers. Otherwise, I really like his solution.</p>
<h2>The Solution</h2>
<p>We start with a simple unordered list wrapped in a div. Also, the list items have class names to they can be used in conjunction with body ID to highlight a particular tab.</p>
<p><strong>The Markup</strong></p>
<pre class="brush: xml;">
&lt;div id=&quot;navigation&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;home&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Homepage&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;products&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Products &amp;amp;amp;amp; Services&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;contact&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Contact Us&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p><strong>The CSS</strong></p>
<p>First off, I will add some basic styling.</p>
<pre class="brush: css;">#navigation {
background: url(images/navigation.png) top left repeat-x;
overflow: auto;
display: block;
float: left;
width: 100%;
}
#navigation * {
padding:0;
margin:0;
font-family: Georgia, &quot;Times New Roman&quot;, Times, serif;
font-size: 1em;
}
#navigation ul {
display: block;
float: left;
padding: 10px 0 0 0;
}
#navigation ul li {
list-style: none;
float: left;
margin: 0 0 0 5px;
}</pre>
<p>What I have done here is:</p>
<ul>
<li>Add blue background to the entire navigation. You can ignore most of it since it is meant only for the menu I designed. Keep the <strong>overflow: auto</strong> for clearing the floating unordered list.</li>
<li>Resetting everything inside #navigation using the very powerful star (*) selector, so they have no margin and padding and so that they inherit the font properties.</li>
<li>Remove list-style from list items and make them float left.</li>
</ul>
<p><strong>The Images</strong></p>
<p>I am using 3 different images. Off course, you can combine the 3 images and use background-position to switch the background colour but I can&#8217;t be arsed.</p>
<p><img class="alignnone size-full wp-image-100" title="onselected" src="http://azadcreative.com/wp-content/uploads/2009/03/onselected.png" alt="onselected" width="350" height="76" /><img class="alignnone size-full wp-image-99" title="onlink" src="http://azadcreative.com/wp-content/uploads/2009/03/onlink.png" alt="onlink" width="350" height="76" /><img class="alignnone size-full wp-image-98" title="onhover" src="http://azadcreative.com/wp-content/uploads/2009/03/onhover.png" alt="onhover" width="350" height="76" /></p>
<p>One noticeable thing about the images is that they are quite big, almost 3 times as much as what they need to be. It is so if the font-size is increased or the page zoomed, the buttons will expand and will not seem broken.</p>
<p><strong>The CSS for links</strong></p>
<pre class="brush: css;">#navigation ul li a {
background: url(images/onlink.png) top right no-repeat;
display: block;
padding: 0 15px 0 0;
color: #e0ebf3;
text-decoration: none
}
#navigation ul li a span {
background: url(images/onlink.png) top left no-repeat;
display: block;
padding: 10px 0 10px 15px;
}</pre>
<p>At this point, all the links should look the same. If you inspect the code, you&#8217;ll see a 15px padding on the right of the anchor. Also, the image is on the right-hand side so that the rounded corners show up on the right.</p>
<p><strong>The CSS for :hover and selecting current tab<br />
</strong></p>
<pre class="brush: css;">#navigation ul li a:hover {
background: url(images/onhover.png) top right no-repeat;
color: #FFF;
text-decoration: underline
}
#navigation ul li a:hover span {
background: url(images/onhover.png) top left no-repeat;
}

#home #navigation ul li.home a {
background: url(images/onselected.png) top right no-repeat;
color: #6a6a6a;
}
#home #navigation ul li.home a span {
background: url(images/onselected.png) top left no-repeat;
}</pre>
<p>The code here is quite self explanatory. The image onhover.png is applied on both the anchor and span for the hover effect.</p>
<p>The #home at the front is the body ID. If the body id is set to <strong>home</strong>, the list item with class=&#8221;home&#8221; gets the white background image to make it appear selected.</p>
<h2>But what about Transparent Images?</h2>
<p>If you are using transparent PNGs for the buttons, you will notice that the images overlap.If your images have shadows, the overlap will cause rather ugly results.</p>
<p>I admit I had been wrong on this matter. I stand corrected after a reader has taken the effort to use my code with transparent images and posted it on his website.</p>
<p>The solutoin is to split the images into 2 sections.</p>
<div id="attachment_375" class="wp-caption alignnone" style="width: 323px"><img class="size-full wp-image-375" title="sliding_door_slices" src="http://azadcreative.com/wp-content/uploads/2009/03/sliding_door_slices.png" alt="Create slices in Photoshop" width="313" height="123" /><p class="wp-caption-text">Create slices in Photoshop</p></div>
<p>In the example above, the anchor has a padding of 15 pixels to the right. So we are creating a 15px slice as saving it as a separate image.</p>
<p>Here is the CSS for the 2-image solution:</p>
<pre class="brush: css;">#navigation2 ul li a {
background: url(images/onlink2_right.png) top right no-repeat;
display: block;
padding: 0 15px 0 0;
color: #e8e8e8;
text-decoration: none
}
#navigation2 ul li a span {
background: url(images/onlink2_left.png) top left no-repeat;
display: block;
padding: 10px 0 10px 15px;
}
#navigation2 ul li a:hover {
background: url(images/onhover2_right.png) top right no-repeat;
color: #FFF;
text-decoration: underline
}
#navigation2 ul li a:hover span {
background: url(images/onhover2_left.png) top left no-repeat;
}

#home #navigation2 ul li.home a {
background: url(images/onselected2_right.png) top right no-repeat;
color: #6a6a6a;
}
#home #navigation2 ul li.home a span {
background: url(images/onselected2_left.png) top left no-repeat;
}</pre>
<p>By splitting the images into <em>left </em>and <em>right</em>, I have eliminated the chance of an overlap. It works on all major browser except IE6 because of the alpha-transparency issue. So I have created alternate PNG-8 versions of the images and added the !important hack to make it work in IE6.</p>
<p>Take this step only if you want to support IE6.</p>
<pre class="brush: css;">#navigation2 ul li a {
background: url(images/onlink2_right.png) top right no-repeat !important;
background: url(images/onlink2_right_IE6.png) top right no-repeat;
display: block;
padding: 0 15px 0 0;
color: #e8e8e8;
text-decoration: none
}
#navigation2 ul li a span {
background: url(images/onlink2_left.png) top left no-repeat !important;
background: url(images/onlink2_left_IE6.png) top left no-repeat;
display: block;
padding: 10px 0 10px 15px;
}
#navigation2 ul li a:hover {
background: url(images/onhover2_right.png) top right no-repeat !important;
background: url(images/onhover2_right_IE6.png) top right no-repeat;
color: #FFF;
text-decoration: underline
}
#navigation2 ul li a:hover span {
background: url(images/onhover2_left.png) top left no-repeat !important;
background: url(images/onhover2_left_IE6.png) top left no-repeat;
}

#home #navigation2 ul li.home a {
background: url(images/onselected2_right.png) top right no-repeat !important;
background: url(images/onselected2_right_IE6.png) top right no-repeat;
color: #6a6a6a;
}
#home #navigation2 ul li.home a span {
background: url(images/onselected2_left.png) top left no-repeat !important;
background: url(images/onselected2_left_IE6.png) top left no-repeat;
}</pre>
<p>Check out the updated <a href="http://azadcreative.com/labs/demos/bulletproof_css_sliding_doors/">demonstation</a>.</p>
<h2>Conclusion</h2>
<p>In comparison to other methods, it is more functional, semantic and better supported in older browsers. It is also easier to deploy and maintain. Here is the <a href="http://azadcreative.com/labs/demos/bulletproof_css_sliding_doors/">live demo</a> if you would like to see it in action. I have also done an extra theme with orange buttons (similar to Kailoon&#8217;s demos).</p>
<p>I hope you found it useful. Bugs, fixes and any feedback is very welcome.</p>
<h2>References and Credits</h2>
<p><a href="http://www.alistapart.com/articles/slidingdoors2/"><strong>CSS Sliding Doors</strong></a> by <em>Douglas Bowman</em></p>
<p><a href="http://kailoon.com/css-sliding-door-using-only-1-image/"><strong>CSS Sliding Door using only 1 image</strong></a> by <em>kailoon</em></p>
<p><strong><a href="http://www.cssplay.co.uk/menus/sliding_doors.html">100% clickable Sliding Doors</a></strong> by <em>Stu Nicholls</em></p>
<p><a href="http://www.fiftyfoureleven.com/sandbox/weblog/2004/jun/doors-meet-sprites/"><strong>Sliding Doors meets CSS Sprites</strong></a> by <em>FiftyFourEleven</em></p>
<p><strong>Check out my first <a href="http://themeforest.net/item/harbour-theme-for-wordpress/39585?ref=azadcreative">Premium Theme for WordPress: Harbour</a></strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/azadcreative?a=RzlVYgdHd8Q:tvCt_fXnMDw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/azadcreative?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=RzlVYgdHd8Q:tvCt_fXnMDw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=RzlVYgdHd8Q:tvCt_fXnMDw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=RzlVYgdHd8Q:tvCt_fXnMDw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=RzlVYgdHd8Q:tvCt_fXnMDw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/azadcreative?a=RzlVYgdHd8Q:tvCt_fXnMDw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/azadcreative?i=RzlVYgdHd8Q:tvCt_fXnMDw:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/azadcreative/~4/RzlVYgdHd8Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://azadcreative.com/2009/03/bulletproof-css-sliding-doors/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		<feedburner:origLink>http://azadcreative.com/2009/03/bulletproof-css-sliding-doors/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.429 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-07 01:26:05 -->
