<?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/" version="2.0">

<channel>
	<title>WebDevKit</title>
	
	<link>http://webdevkit.net</link>
	<description>Toolbox for web designers and developers</description>
	<lastBuildDate>Wed, 14 Jul 2010 21:04:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/webdevkit" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="webdevkit" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>10 free corporate @font-face fonts you should know about</title>
		<link>http://webdevkit.net/2010/07/10-free-corporate-font-face-fonts-you-should-know-about/</link>
		<comments>http://webdevkit.net/2010/07/10-free-corporate-font-face-fonts-you-should-know-about/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 18:28:32 +0000</pubDate>
		<dc:creator>Janko Keselak</dc:creator>
				<category><![CDATA[Round-ups]]></category>
		<category><![CDATA[corporate]]></category>
		<category><![CDATA[font-face]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[round-up]]></category>

		<guid isPermaLink="false">http://webdevkit.net/?p=203</guid>
		<description><![CDATA[When it comes to typography, webdesigners always have very limited options. We are bounded to use of few web-safe fonts and there is only a limited space for us to go nuts if we want to achieve something really different. Luckily enough, ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position: absolute; top: 100px; left: -55px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F07%2F10-free-corporate-font-face-fonts-you-should-know-about%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F07%2F10-free-corporate-font-face-fonts-you-should-know-about%2F&amp;source=uDesignStudios&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>When it comes to typography, webdesigners always have very limited options. We are bounded to use of few web-safe fonts and there is only a limited space for us to go nuts if we want to achieve something really different. Luckily enough, there are some tools that can make this aspect of our professional life a little bit less depressing &#8211; so called &#8220;font replacement techniques&#8221;. Once again, after flash-based sIFR and JS &#8211; powered Cufon, a not so new technique is gaining its fans an user &#8211; @font-face. And here some corporate fonts that should not be missing in your toolbox.</p>
<h3><a href="http://www.fontsquirrel.com/fonts/TitilliumText" target="_blank">1. Titilium text</a></h3>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/07/titilium1.jpg"><img class="size-thumbnail wp-image-207 alignleft" title="titilium" src="http://webdevkit.net/wp-content/uploads/2010/07/titilium1-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Titilium is clean, sharp and modern sans-serif typeface that can be used in variety of different projects. It comes in 6 different styles, very handy.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Sansation" target="_blank">2. Sansation</a></h3>
<p><a href="http://www.fontsquirrel.com/fonts/Sansation"><img class="size-thumbnail wp-image-211 alignleft" title="sansation" src="http://webdevkit.net/wp-content/uploads/2010/07/sansation-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Great and modern typeface with very nicely shaped glyphs. Great choice if you want to achieve Different, yet very cool and professional look.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/League-Gothic" target="_blank">3. League Gothic</a></h3>
<p><a href="http://www.fontsquirrel.com/fonts/League-Gothic"><img class="alignleft size-thumbnail wp-image-213" title="league" src="http://webdevkit.net/wp-content/uploads/2010/07/league-150x150.jpg" alt="" width="150" height="150" /></a> This bold font is ideal for presentation of your heavy ideas. If you want to look big, confident and stylish at the same time, go for  League Gothic.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Quicksand">4. Quicksand</a></h3>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/07/quicksand.png"><img class="alignleft size-thumbnail wp-image-216" title="quicksand" src="http://webdevkit.net/wp-content/uploads/2010/07/quicksand-150x150.png" alt="" width="150" height="150" /></a>Another great corporate font with more rounded glyphs.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Bitstream-Vera-Sans" target="_blank">5. Bitstream Vera Sans</a></h3>
<p><a href="http://www.fontsquirrel.com/fonts/Bitstream-Vera-Sans"><img class="alignleft size-thumbnail wp-image-217" title="bitstream" src="http://webdevkit.net/wp-content/uploads/2010/07/bitstream-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Bitstream is very universal typeface, that can be used for just about anything.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Bebas" target="_blank">6. Bebas</a></h3>
<p><a href="http://www.fontsquirrel.com/fonts/Bebas"><img class="size-thumbnail wp-image-218 alignleft" title="bebas" src="http://webdevkit.net/wp-content/uploads/2010/07/bebas-150x150.png" alt="" width="150" height="150" /></a>Bold and confident typeface, with similar properties as League Gothic.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Bentham">7. Bentham</a></h3>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/07/bentham.png"><img class="alignleft size-thumbnail wp-image-220" title="bentham" src="http://webdevkit.net/wp-content/uploads/2010/07/bentham-150x150.png" alt="" width="150" height="150" /></a>Don&#8217;t forget about Serif fonts. Bentham is perfect choice, if you&#8217;re looking for serif alternative.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Existence-Light" target="_blank">8. Existence light</a></h3>
<p><a href="http://www.fontsquirrel.com/fonts/Existence-Light"><img class="alignleft size-thumbnail wp-image-221" title="existence" src="http://webdevkit.net/wp-content/uploads/2010/07/existence-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Ultra light corporate font, with variety of possible aplications.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Garogier" target="_blank">9. Garogier</a></h3>
<p><a href="http://www.fontsquirrel.com/fonts/Garogier"><img class="alignleft size-thumbnail wp-image-222" title="garogier" src="http://webdevkit.net/wp-content/uploads/2010/07/garogier-150x150.png" alt="" width="150" height="150" /></a> Another absolutely perfect serif typeface.</p>
<div class="clear"></div>
<h3><a href="http://www.fontsquirrel.com/fonts/Aurulent-Sans" target="_blank">10. Aurulent Sans</a></h3>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/07/aurulent.png"><img class="alignleft size-thumbnail wp-image-223" title="aurulent" src="http://webdevkit.net/wp-content/uploads/2010/07/aurulent-150x150.png" alt="" width="150" height="150" /></a>Our list ends with this gorgeous sans-serif font, which made its away int our post thanks to its great symmetry and sharp corporate look.</p>
<div class="clear"></div>
<p>Did you like this list? Do you have your own candidates that should be included in it? If so, comment this post and let us know! If it is cool enough, we will include it in next round-up.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdevkit.net/2010/07/10-free-corporate-font-face-fonts-you-should-know-about/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Html template – iMag (18 in 1)</title>
		<link>http://webdevkit.net/2010/07/free-html-for-our-readers-imag/</link>
		<comments>http://webdevkit.net/2010/07/free-html-for-our-readers-imag/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 19:15:26 +0000</pubDate>
		<dc:creator>Janko Keselak</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML & CSS]]></category>

		<guid isPermaLink="false">http://webdevkit.net/?p=159</guid>
		<description><![CDATA[Download free professional template from uDesignStudios. iMag comes with 9 different backrounds and in 2 different color schemes, which gives you a total number of 18 amazing variations to choose from. Yes. For free.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position: absolute; top: 100px; left: -55px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F07%2Ffree-html-for-our-readers-imag%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F07%2Ffree-html-for-our-readers-imag%2F&amp;source=uDesignStudios&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>We decided to give away a complete html version of our <a href="http://themeforest.net/item/imag-ultimate-18in1-wordpress-theme/89715" target="_blank">Premium WordPress theme iMag</a>. With very versatile design, we offer this template in 18 (!) different color and background combinations. This is not a competition and every single one of you can download this template for free, all you have to do is following:</p>
<ol>
<li> Make sure you follow us on twitter. If you dont, <a href="http://twitter.com/uDesignStudios" target="_blank">you can do so here</a>.</li>
<li>Retweet this post by clicking on the green RT button on the left.</li>
<li><a href="http://webdevkit.net/downloads/">Click on this link</a> and after verification, your download will start.</li>
</ol>
<p>You can use this template in your personal and commercial projects without any restrictions, just make sure you do all of the above. Stay tuned for more great freebies to come. Oh yes, and spread the word!</p>
]]></content:encoded>
			<wfw:commentRss>http://webdevkit.net/2010/07/free-html-for-our-readers-imag/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Custom post types problems in WordPress</title>
		<link>http://webdevkit.net/2010/07/custom-post-types-problems-in-wordpress/</link>
		<comments>http://webdevkit.net/2010/07/custom-post-types-problems-in-wordpress/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 22:14:02 +0000</pubDate>
		<dc:creator>mirko</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://webdevkit.net/?p=155</guid>
		<description><![CDATA[Recently we&#8217;ve discovered a problem  in one of our WordPress themes that we sell on ThemeForest (Colosseum). It was really strange in that it wasn&#8217;t reproducible on my local machine and it variably appeared and disappeared depending on the permalinks settings in WordPress. We had a portfolio, which was done as a Custom Post Type [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position: absolute; top: 100px; left: -55px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F07%2Fcustom-post-types-problems-in-wordpress%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F07%2Fcustom-post-types-problems-in-wordpress%2F&amp;source=uDesignStudios&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Recently we&#8217;ve discovered a problem  in one of our WordPress themes that we sell on ThemeForest (<a href="http://themeforest.net/item/colosseum/110628">Colosseum</a>). It was really strange in that it wasn&#8217;t reproducible on my local machine and it variably appeared and disappeared depending on the permalinks settings in WordPress. </p>
<p>We had a portfolio, which was done as a Custom Post Type with custom taxonomies and all, and we had it routed through a custom page template. The problem was that either paging would not work (e.g Second page gave 404) or you could not view individual portfolio entries (they gave 404s too). These two problems would alternate whenever you&#8217;d refresh permalinks (Settings>Permalinks>Save).</p>
<p>As it turned out after some research, you can&#8217;t have the same slug for a page and a custom post type! The moral from this is that you should <strong>always prefix your custom everything</strong> with your name or something to ensure that you&#8217;re not conflicting with anything else.</p>
<p>Happy coding</p>
]]></content:encoded>
			<wfw:commentRss>http://webdevkit.net/2010/07/custom-post-types-problems-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Modern business website from scratch: Part 1 – PSD</title>
		<link>http://webdevkit.net/2010/04/clean-and-modern-business-website-from-scratch-part-1-psd/</link>
		<comments>http://webdevkit.net/2010/04/clean-and-modern-business-website-from-scratch-part-1-psd/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 00:51:54 +0000</pubDate>
		<dc:creator>Janko Keselak</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://webdevkit.net/?p=68</guid>
		<description><![CDATA[Modern business website from scratch is our new series of articles, that will guide you trough out the process of creating modern, functional and visually appealing business website. Today's first part will focus at the very first part of every website development. The Photoshop design.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position: absolute; top: 100px; left: -55px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F04%2Fclean-and-modern-business-website-from-scratch-part-1-psd%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F04%2Fclean-and-modern-business-website-from-scratch-part-1-psd%2F&amp;source=uDesignStudios&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi and welcome to the <strong><em>Modern business website from scratch</em> </strong>series. In todays first and opening article, I&#8217;ll guide you through the first and crucial part of website development &#8211; the psd mock up and design. This article is written as a step-by-step tutorial and all the files that will be part of our workflow are included &#8211; including the final psd (because lets face it, everyone love freebies).</p>
<p>So <a href="http://webdevkit.net/wp-content/uploads/2010/04/webdevkitcompany_preview.jpg">let&#8217;s take a look at what we will be creating</a>.</p>
<p>Now, for those of you who are only interested in psd, download button is located at the very end of the article (evil, right?). For the rest of you, let&#8217;s kick it off.</p>
<h3>1. Preparing the PSD</h3>
<p>We will start by preparing the right PSD file with good proportions, grids etc. This is very important and may save us a lot of time at later stages, especially when dealing with large project with lots of elements. I personally always use PSDs from <a href="http://960.gs" target="_blank">Nathan Smith&#8217;s 960.gs grid system</a> &#8211; they come in 3 versions &#8211; with 12, 16 or 24 columns. As for the size, they are 1020 x 1020px, with wrapper area being 940 px wide. I strongly recommend to download them, as I am about to use them for this tutorial.</p>
<p>After the downloading the package, locate photoshop folder inside the templates directory, and open 12 column version. You should see something like this (without the legend of course).</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/12.jpg"><img class="alignnone size-full wp-image-80" title="1" src="http://webdevkit.net/wp-content/uploads/2010/04/12.jpg" alt="" width="600" height="256" /></a></p>
<p>As you can see, whole PSD has the dimensions of a square with side of 1020 px. Wrapper is 940 px (yeah, sorry for wrong legend) wide &#8211; this is very important because we still have to optimize for 1024 x 768 and 940 is the width that looks just ok on this resolution and does not look lame on bigger screens. If you take closer look at the PSD, you will see that wrapper is divided in 12 columns, each of 60px. Gaps between these columns are 20px wide.  This comes very handy when designing the layout and it is the main reason why I love 960.gs&#8217;s PSDs. For now, you can turn them off ( <strong>click on the little eye icon next to &#8220;12 col grid&#8221; folder in layers pallete</strong> ). Blue guides can be turned off by unchecking <strong>View -&gt; Extra</strong>.</p>
<p>We will continue with setting up the grid. Grids are very helpful and if you use them right, they can save you a lot of time and trouble. I usually always use grids with cells of 10 x 10 px. I really don&#8217;t know why to be honest, it just turned out to be very beneficial size for me and I got used to it. I recommend trying different options for this and finding out what suits you best. You can set up your grid at <strong>Photoshop -&gt; preferences -&gt; Guides, Grids and Slices&#8230; </strong>. Here is the image of my settings:</p>
<p><img class="alignnone size-full wp-image-93" title="4" src="http://webdevkit.net/wp-content/uploads/2010/04/4.jpg" alt="" width="600" height="338" /></p>
<p>Now that the PSD is ready, we can actually start creating our layout.</p>
<h3>2. Fonts and color scheme</h3>
<p>As for the fonts, I decided to go with League Gothic (<a href="http://www.fontsquirrel.com/fonts/League-Gothic" target="_blank">check it out here</a>) for headings, mainly because of its bold and professional look, with a slice of retro feeling inside. For the body text, we will use good old arial (I&#8217;ll get to the font size and line heights later).</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/2.jpg"><img class="size-full wp-image-83 alignleft" title="2" src="http://webdevkit.net/wp-content/uploads/2010/04/2.jpg" alt="" width="300" height="300" /></a>Our color scheme in this design will be pretty simple. We will use one plain color for background (<strong> #eeeeee </strong>), one plain color for boxes background (<strong>#ffffff </strong>), one color for headings ( <strong>#111111 </strong>) and one for links and elements that you (or your client) wants to make &#8220;pop&#8221; ( <strong>#b2252C </strong>). I prepared visualized example of our color scheme as well. If you feel like changing any of  my colors for your own, feel free. Experiments are often very productive. Very nice and popular source of inspiration can be also <a href="http://kuler.adobe.com" target="_blank">kuler.adobe.com</a>.</p>
<h3>3. Background</h3>
<p>Our background color for this layout will be <strong>#eeeeee</strong>. Select your background layer. Now go to <strong>edit -&gt; fill or press shift + f5</strong>. Select <strong>color</strong> from dropdown and select <strong>#eeeeeee</strong>. Confirm by clicking <strong>OK.</strong>Thats it for backround, we will continue with logo and navigation.</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/5.jpg"><img class="alignnone size-full wp-image-99" title="5" src="http://webdevkit.net/wp-content/uploads/2010/04/5.jpg" alt="" width="600" height="420" /></a></p>
<h3>4. Logo and tagline</h3>
<p>Our header will consist of simple textual heading and subheading with some subtle effects. You are most probably going to change this to your personal needs. If you like my design, just change the text but feel free to insert your own logo as well.</p>
<p>As I said earlier, I decided to use League Gothic for the headings. (if you did not download it earlier, now is a good time).</p>
<p>Turn on your 12col group layer in layer palette and turn on the grid as well ( <strong>cmd /ctrl + &#8216;</strong> ). You should see 12 red columns. Use <strong>type tool (T)</strong> and type <strong>WebDevKit Company</strong> (or whatever you want <img src='http://webdevkit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Select whole text again, by double clicking its layer. Make sure the size is set to <strong>44pt</strong> and color to <strong>#111111.</strong> Place it right at the left border of the wrapper and set its margin from top to about 60px (6 squares ). See following graphic for clarification:</p>
<p><img class="alignnone size-full wp-image-104" title="6" src="http://webdevkit.net/wp-content/uploads/2010/04/6.jpg" alt="" width="600" height="416" /></p>
<p>Our tagline&#8217;s color will be a bit lighter ( <strong>#565656</strong> to be precise), and we will give it nice inner shadow to make it more attractive. Again, type your tagline, set it&#8217;s size to <strong>30pt </strong>and<strong> </strong>color to <strong>#565656</strong>. Make sure it&#8217;s right border is aligned with the logo above:</p>
<p><img class="alignnone size-full wp-image-106" title="7" src="http://webdevkit.net/wp-content/uploads/2010/04/7.jpg" alt="" width="600" height="282" /></p>
<p>In the next step, we will add a nice inner shadow to our tagline, this will produce a soft letterpress effect. To do this, right click on the tagline&#8217;s layer and select <strong>blending options </strong>from the menu. Check <strong>inner shadow</strong> and change it&#8217;s properties to this: <strong>Angle &#8211; 90, Distance &#8211; 1, Size &#8211; 1</strong>. Thats it <img src='http://webdevkit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/8.jpg"><img class="alignnone size-full wp-image-107" title="8" src="http://webdevkit.net/wp-content/uploads/2010/04/8.jpg" alt="" width="600" height="323" /></a></p>
<h3>5. Navigation</h3>
<p>Navigation consists of simple textual links. Our font is (again) League Gothic. Make sure your font size is <strong>24pt</strong> and color <strong>#111111.</strong> You can use our red color ( <strong>#b22230</strong> )  for any page that requires special attention. I used it for contact information but this is basically up to you. Spacing between navigation elements should be <strong>30 px</strong>.</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/9.jpg"><img class="alignnone size-full wp-image-109" title="9" src="http://webdevkit.net/wp-content/uploads/2010/04/9.jpg" alt="" width="600" height="98" /></a></p>
<h3>6. Billboard</h3>
<p>The whole idea behind billboard is to make visitor know the very basic facts about your product or company within first few seconds of their visit. If you succeed in capturing their attention during this very brief period of time, they may turn into customers. Here is the basic structure of our billboard:</p>
<ul>
<li><strong>Heading: </strong>Welcome message or some important service, maybe quotation</li>
<li><strong>Text</strong>: a brief welcome text or description of the above.</li>
<li><strong>Call to action buttons: </strong>very important buttons that can be used to redirect user to order / pricing / more info page.</li>
<li><strong>Graphics</strong><strong>:</strong> Nice, eye-catching graphics related to elements mentioned above.</li>
</ul>
<p>First of all, we need to create the background. To do this, create new layer ( <strong>Layer -&gt; new -&gt; Laye</strong><strong>r</strong> or <strong>cmd + shift + N </strong>), name it <strong>billboard bg</strong>. Select <strong>940&#215;340 px </strong>area 50-60px below the tagline. Click on <strong> Edit  -&gt; fill</strong> and fill it with plain white. You should get something like this:</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/10.jpg"><img class="alignnone size-full wp-image-111" title="10" src="http://webdevkit.net/wp-content/uploads/2010/04/10.jpg" alt="" width="600" height="318" /></a></p>
<p>This color combination of background / billboard background does not provide enough contrast, but don&#8217;t worry. We will take care of this with fancy shadow.</p>
<p>Duplicate the &#8220;billboard bg&#8221; layer (<strong>Layer -&gt; Duplicate laye</strong><strong>r </strong>). Name it <strong>billboard shadow </strong>and move it below the original &#8220;billboard bg&#8221; layer. <strong>CMD+click</strong> the thumbnail of the layer to select filled parts. Go to <strong>Edit -&gt; fill</strong>, and fill this selection with <strong>black ( #000000 )</strong>.</p>
<p>Press<strong> cmd+D</strong> to deselect and go to <strong>Filters &#8211; &gt; Blur -&gt; Gaussian blur. </strong>Set radius to <strong>10px. </strong></p>
<p><strong><a href="http://webdevkit.net/wp-content/uploads/2010/04/111.jpg"><img class="alignnone size-full wp-image-112" title="11" src="http://webdevkit.net/wp-content/uploads/2010/04/111.jpg" alt="" width="600" height="309" /></a></strong></p>
<p>Contrast is better, but it still looks kinda amateurish and lame, so we will enhance it a bit more. Keep the shadow layer selected and click <strong>Edit -&gt; transform -&gt; warp</strong>. Move the lines in the direction signaled by red arrows, until you get something similar to our picture. There is again a lot of space for your own imagination and preferences. Some prefer shadows dark, some subtle. I tried to go for something in the middle.</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/121.jpg"><img class="alignnone size-full wp-image-113" title="12" src="http://webdevkit.net/wp-content/uploads/2010/04/121.jpg" alt="" width="600" height="340" /></a></p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/13.jpg"><img class="alignnone size-full wp-image-114" title="13" src="http://webdevkit.net/wp-content/uploads/2010/04/13.jpg" alt="" width="600" height="324" /></a></p>
<p>That is much better. Now we can start to fill the billboard wrapper with content. Let&#8217;s start with heading and description. Our billboard will have the padding of 40px. This means that we will &#8220;apply&#8221; 40px wide invisible border around content of the billboard.</p>
<p>Heading should have following properties:</p>
<ul>
<li>font: League Gothic</li>
<li>font size: 40px</li>
<li>color: #111111</li>
</ul>
<p>To add description text, select <strong>type tool</strong> click 40px below heading with 12col layer group selected and create text field that ends with the 6th column (yes, one half). Fill the text with your text. Properties for the description text.</p>
<ul>
<li>font: Arial,</li>
<li>font-size: 13pt</li>
<li>line-height: 21pt</li>
</ul>
<p>Right half of the billboard is reserved for some nice photos or illustrations. We used illustration of various it-related icons.</p>
<p>Following image shows positions of our elements.</p>
<p><img class="alignnone size-full wp-image-121" title="14" src="http://webdevkit.net/wp-content/uploads/2010/04/141.jpg" alt="" width="600" height="231" /></p>
<h3>7. Billboard buttons</h3>
<p>Create New layer and name it &#8220;<strong>button background&#8221;</strong>. Select <strong>Rounded Rectangle tool (u)</strong> and create shape with dimensions <strong>140&#215;40 px</strong>. Right click the layer and click <strong>blending options</strong>. Check <strong>gradient overlay.</strong> Set Angle to <strong>90 degrees</strong> and choose <strong>linear gradient</strong>. As for the colors, we start at <strong>#e8e8e8</strong> and end at <strong>#f4f4f4</strong>.</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/15.jpg"><img class="alignnone size-full wp-image-123" title="15" src="http://webdevkit.net/wp-content/uploads/2010/04/15.jpg" alt="" width="600" height="371" /></a></p>
<p>Now, check the <strong>drop shadow</strong> option. Set Distance and Size to <strong>1</strong>.</p>
<p><img class="alignnone size-full wp-image-124" title="16" src="http://webdevkit.net/wp-content/uploads/2010/04/16.jpg" alt="" width="600" height="373" /></p>
<p>Create new layer and name it <strong>button circle</strong>. Hold <strong>shift </strong>and create cirular selection with 20px using <strong>Eliptical marquee tool (m)</strong>.</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/17.jpg"><img class="alignnone size-full wp-image-126" title="17" src="http://webdevkit.net/wp-content/uploads/2010/04/17.jpg" alt="" width="209" height="92" /></a></p>
<p>Click<strong> Edit -&gt; fill </strong>and fill the selection with <strong>#222222. </strong>Right click the layer and click <strong>blending options</strong>. Check<strong> Inner shadow option</strong>, set <strong>distance to 1 and keep size at 5.</strong></p>
<p><strong><a href="http://webdevkit.net/wp-content/uploads/2010/04/18.jpg"><img class="alignnone size-full wp-image-127" title="18" src="http://webdevkit.net/wp-content/uploads/2010/04/18.jpg" alt="" width="600" height="354" /></a></strong></p>
<p>Create New layer and name it <strong>button arrow</strong>. Use <strong>Polygonal lasso tool (L)</strong> to create the following triangular selection:</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/19.jpg"><img class="alignnone size-full wp-image-128" title="19" src="http://webdevkit.net/wp-content/uploads/2010/04/19.jpg" alt="" width="221" height="98" /></a></p>
<p>Go to <strong> edit -&gt; fill</strong> and fill the selection with white color.</p>
<p>For button captions, I decided to choose <strong>Titilium</strong> as my font ( <a href="http://www.fontsquirrel.com/fonts/TitilliumText14L" target="_blank">more info here</a> ). I used <strong>800wt</strong> version with font size set to <strong>15pt</strong>. Color was <strong>#111111. </strong>When choosing the right position for the caption, make sure there is at least 20-30px wide gap between it and dark circle with arrow. In blending options, <strong>check drop shadow option</strong>. Set blend mode to <strong> normal, </strong> color to <strong>white, distance to 1 </strong>and<strong> size to 0</strong>.</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/20.jpg"><img class="alignnone size-full wp-image-130" title="20" src="http://webdevkit.net/wp-content/uploads/2010/04/20.jpg" alt="" width="600" height="357" /></a></p>
<p>Great, we&#8217;ve just made a really sexy button. What you want to do now is to put all layers related to button into one group and name it<strong> button</strong>. You can duplicate this group and change the text of the second button easily.</p>
<p>Congrats, billboard is done, it should look similar to this:</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/21.jpg"><img class="alignnone size-full wp-image-132" title="21" src="http://webdevkit.net/wp-content/uploads/2010/04/21.jpg" alt="" width="600" height="234" /></a></p>
<p>Icons come from absolutely fantastic  iSuite Reworked set from <a href="http://prax-08.deviantart.com/" target="_blank">Prax_08</a>.</p>
<h3>8. Content area</h3>
<p>Our main content area consists of 3 columns with heading, image, description and learn more link. It&#8217;s background will be practically the same as the one that we used for billborad, so feel free to duplicate &#8220;billboard shadow&#8221; and &#8220;billboard bg&#8221; and rename them to &#8220;content shadow&#8221; and &#8220;content bg&#8221; if you are looking for easy solution. If you need bigger size of the content wrapper, just repeat the steps mentioned for billboard and use different height. If you are done, place this content wrapper 40px below your billboard.</p>
<p>Turn on your 12 col grid layer group. Basic layout for our columns will be following:</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/22.jpg"><img class="alignnone size-full wp-image-134" title="22" src="http://webdevkit.net/wp-content/uploads/2010/04/22.jpg" alt="" width="600" height="226" /></a></p>
<p>Each column is about to be filled with:</p>
<ul>
<li>heading</li>
<li>image</li>
<li>description</li>
<li>learn more link</li>
</ul>
<p>For headings, use League Gothic with following settings: <strong>size &#8211; 28pt, color: #111111. </strong>Size of each image is <strong>250x70px</strong> except the one in middle column which has the width of 270px. Description text is <strong>13pt Arial with 21pt line height. </strong>Top and bottom margin of image should be 30px. Learn more links are made with <strong>League gothic, size 20pt.</strong></p>
<p>Once you are done, your layout should look similar to this:</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/23.jpg"><img class="alignnone size-full wp-image-136" title="23" src="http://webdevkit.net/wp-content/uploads/2010/04/23.jpg" alt="" width="600" height="226" /></a></p>
<h3>9. Footer</h3>
<p>Our footer is really simple. It consists of one line of copyright text and social media icons. It is really easy to do, I provide you with the screenshot:</p>
<p><a href="http://webdevkit.net/wp-content/uploads/2010/04/24.jpg"><img class="alignnone size-full wp-image-144" title="24" src="http://webdevkit.net/wp-content/uploads/2010/04/24.jpg" alt="" width="600" height="62" /></a></p>
<p>Icons are from Murid Rahhal&#8217;s <a href="http://blog.sfaranda.com/" target="_blank">Metallic social icons set 0</a>1 set.</p>
<p>We are done <img src='http://webdevkit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . You can download the final PSD by clicking the button below.</p>
<p><a class="button download" href="http://webdevkit.net/wp-content/uploads/2010/04/wdk-psd-final.psd_.zip"></a></p>
<hr class="divider" />
<p>That&#8217;s it folks! You&#8217;ve just created neat and universal design. Stay tuned for part 2 of this series, in which we will cut the whole thing into a modern W3C valid XHTML / CSS Site! Make sure you don&#8217;t miss it and <a href="http://twiiter.com/uDesginStudios" target="_blank">follow our twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdevkit.net/2010/04/clean-and-modern-business-website-from-scratch-part-1-psd/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tips for writing optimized CSS</title>
		<link>http://webdevkit.net/2010/03/tips-for-writing-optimized-css/</link>
		<comments>http://webdevkit.net/2010/03/tips-for-writing-optimized-css/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 09:28:33 +0000</pubDate>
		<dc:creator>mirko</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://webdevkit.net/?p=4</guid>
		<description><![CDATA[Every web designer should know CSS. But unfortunately not everyone knows how to write optimized CSS. This guide will walk you through some of the techniques used to minimize CSS size and redundancy.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position: absolute; top: 100px; left: -55px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F03%2Ftips-for-writing-optimized-css%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdevkit.net%2F2010%2F03%2Ftips-for-writing-optimized-css%2F&amp;source=uDesignStudios&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>In this tutorial I will walk you through some basic techniques that will come in handy if you are interested in reducing your website&#8217;s size and load time. Generally, if you style a markup, you go element by element and assign style to it. That is not bad, and usually will work, but you often can reduce the amount of properties you include in a selector. Here I will show you how to do this.</p>
<h3>1. Always start with general elements first</h3>
<p>Start with body selector. Set your fonts and font sizes here and do it first, if you change it later, it will affect all text on the website. Next make sure you don&#8217;t forget things like p, a, a:hover and a:focus, ol, ul etc.</p>
<pre class="brush: css;">
body {}
p {}
a {}
a:hover, a:focus {}
img {}
ul {}
ol {}
li {}
...
</pre>
<h3>2. Proceed from top to bottom, outside in</h3>
<p>You probably have a wrapper around all of your elements, style that. As you proceed from outside in you can fully exploit inheritance &#8211; everything you assign to the parent will be inherited by its children. This is useful if you want to have similar looking text in the sidebar. You don&#8217;t set text properties on the widget level, you do it on the sidebar level and add only differences (if any) to the widget classes. If you proceed like this it will be really easy for you to find any element style later when you will want to edit the page.</p>
<pre class="brush: css;">
/* Generic Tag Definitions */
/* Generic Classes */
#wrapper {}
#header {}
#content {}
#article {}
#sidebar {}
#footer {}
</pre>
<h3>3. Create generic classes</h3>
<p>If you use some things a lot in different places it might be effective to create a dedicated class and then assign this class wherever you want to use its properties. Again, it is good to think of this before you start styling. An example of this might be a &#8216;box&#8217; class that will have a background color, border, border radius and some shadow. You can then apply this class wherever your box appears, be it in main content, sidebar, footer. Additionally it helps you keep order in your CSS and if you want to change anything, there is only one place you need to go.</p>
<pre class="brush: css;">
.clear {
  clear:both;
}
.alignleft {
  float:l eft;
  margin: 0px 20px 20px 0px;
}
.alignright {
  float: right;
  margin: 0px 0px 20px 20px;
}
/* etc. */
</pre>
<h3>4. Make use of selector Specificity</h3>
<p>Generally selectors with IDs have precedence over selectors with classes. Selectors with longer element paths have precedence over shorter paths, classes have precedence over elements, later selectors overwrite former ones. You can use this to override something you specified generally earlier. This is the recommended alternative to !important directive.</p>
<p>Lets assume we have something like:</p>
<pre class="brush: xml;">
&lt;div id=&quot;menu&quot;&gt;
  &lt;ul&gt;
    &lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;#&quot;&gt;Link&lt;/a&gt;&lt;/li&gt;
    &lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;#&quot;&gt;Link&lt;/a&gt;&lt;/li&gt;
    &lt;li class=&quot;page_item&quot;&gt;
      &lt;a href=&quot;#&quot;&gt;Link&lt;/a&gt;
      &lt;ul&gt;
        &lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;#&quot;&gt;Link&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;#&quot;&gt;Link&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;#&quot;&gt;Link&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>Then we could organize our CSS like so:</p>
<pre class="brush: css;">
#menu {}
#menu ul {} /* Top level menu */
#menu ul li {} /* Top level menu items */
#menu ul li a {} /* Top level menu links */
#menu ul li ul {} /* 2nd level menu */
#menu ul li ul li a {} /* 2nd level menu links  */
#menu ul li ul li ul {} /* 3rd level menu (even though in the markup we don't have one)*/
</pre>
<h3>5. Use selector shorthands</h3>
<p>Many selectors have shorthands that combine different values in one property. The ones that will save you most characters are font, background, border, margin and padding.</p>
<pre class="brush: css;">
.class {
    /* Wrong */
    padding-top: 1px;
    padding-right: 2px;
    padding-bottom: 3px;
    padding-left: 4px;

    /* Right */
    padding: 1px 2px 3px 4px; /* Order is always top right bottom left */
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webdevkit.net/2010/03/tips-for-writing-optimized-css/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
