<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gungurru Blog &#187; code</title>
	<atom:link href="http://gungurru.com/blog/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://gungurru.com/blog</link>
	<description>Web &#38; Graphic Design, Marketing and Opinion</description>
	<lastBuildDate>Thu, 25 Aug 2011 08:45:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Create a Sleek Web 2.0 Style Website Layout: a Photoshop Tutorial (Part 2)</title>
		<link>http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-2/</link>
		<comments>http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-2/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 12:50:12 +0000</pubDate>
		<dc:creator>Joe Swinn</dc:creator>
				<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[graphic]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[slice]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://gungurru.com/blog/?p=177</guid>
		<description><![CDATA[This is the second of a two part tutorial on Designing and Coding a Sleek Web 2.0 Style Website Layout. (Part one can be viewed here). For this version, you will need your .PSD file from the original tutorial. If you want to start with what I got, please download the PSD file here. Note: [...]


Related posts:<ol><li><a href='http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-1/' rel='bookmark' title='Create a Sleek Web 2.0 Style Website Layout: a Photoshop Tutorial (Part 1)'>Create a Sleek Web 2.0 Style Website Layout: a Photoshop Tutorial (Part 1)</a></li>
<li><a href='http://gungurru.com/blog/tutorials/create-a-retro-vintage-wwii-style-poster-a-photoshop-tutorial/' rel='bookmark' title='Create a Retro Vintage WWII Style Poster: A Photoshop Tutorial'>Create a Retro Vintage WWII Style Poster: A Photoshop Tutorial</a></li>
<li><a href='http://gungurru.com/blog/tutorials/design-a-warm-nature-website-layout-a-photoshop-tutorial/' rel='bookmark' title='Design a Warm Nature Website Layout: a Photoshop Tutorial'>Design a Warm Nature Website Layout: a Photoshop Tutorial</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-2"><img class="aligncenter size-full wp-image-180" title="Convert a Web 2.0 Style PSD File into HTML/CSS" src="http://gungurru.com/blog/wp-content/uploads/2009/08/sleek-web20-website-layout-in-photoshop-tutorial1.jpg" alt="sleek-web20-website-layout-in-photoshop-tutorial" width="580" height="100" /></a></p>
<p><span id="more-177"></span></p>
<p>This is the second of a two part tutorial on Designing and Coding a Sleek Web 2.0 Style Website Layout. (Part one can be viewed <a href="http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-1/">here</a>).</p>
<p>For this version, you will need your .PSD file from the original tutorial. If you want to start with what I got, please download the <a href="http://www.mediafire.com/?sharekey=2bba76c56287a8e0c79b87b207592a1ce04e75f6e8ebb871">PSD file here</a>. <em>Note: There is one important change in this PSD file than the end result of the first part of this tutorial (the alignment of the ‘content-background’ layer). So if you want a better result, please download the PSD file.</em></p>
<p>First off, open up the PSD layout in Photoshop, and select the Slice tool (this is found behind the crop tool in the toolbar, default key ‘c’)</p>
<p>Now, make a vertical slice along the header background, right down to the zigzagged lines, and make sure that your slice will allow the image to be repeatable (this is really important for the CSS later on).</p>
<p><img class="aligncenter size-full wp-image-182" title="gungurru-psd-to-xhtml-tutorial-005" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-005.JPG" alt="gungurru-psd-to-xhtml-tutorial-005" width="580" height="351" /></p>
<p><img class="aligncenter size-full wp-image-183" title="gungurru-psd-to-xhtml-tutorial-006" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-006.JPG" alt="gungurru-psd-to-xhtml-tutorial-006" width="580" height="351" /></p>
<p>Then, make a slice around the logo (you can resize the edges of your slice by clicking and dragging them).</p>
<p><img class="aligncenter size-full wp-image-184" title="gungurru-psd-to-xhtml-tutorial-007" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-007.JPG" alt="gungurru-psd-to-xhtml-tutorial-007" width="580" height="351" /></p>
<p>After this, slice around the top of the zigzagged lines which are below the ‘Call-to-action’ image. Make sure again that the image will be able to loop seamlessly horizontally. <em>(Again, This is really important for later)</em></p>
<p><em><img class="aligncenter size-full wp-image-185" title="gungurru-psd-to-xhtml-tutorial-008" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-008.JPG" alt="gungurru-psd-to-xhtml-tutorial-008" width="580" height="351" /><br />
</em></p>
<p>Then, slice around the 3 icon images (the globe, the clock and the twitter icon).</p>
<p>Then slice the Headings, A suitable part of the zigzagged grey footer, and the footer logo.</p>
<p><img class="aligncenter size-full wp-image-187" title="gungurru-psd-to-xhtml-tutorial-010" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-010.JPG" alt="gungurru-psd-to-xhtml-tutorial-010" width="580" height="351" /></p>
<p><img class="aligncenter size-full wp-image-188" title="gungurru-psd-to-xhtml-tutorial-011" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-011.JPG" alt="gungurru-psd-to-xhtml-tutorial-011" width="580" height="351" /></p>
<p>Now, there’s a really useful part of the ‘Slice Select’ tool (Different to the normal ‘Slice’ tool). This means that you can rename the sliced areas to a chosen name.</p>
<p>Just double click on the slice, and rename the parts to your choosing.</p>
<p><img class="aligncenter size-full wp-image-207" title="gungurru-psd-to-xhtml-tutorial-013" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-013.JPG" alt="gungurru-psd-to-xhtml-tutorial-013" width="457" height="357" /></p>
<p>Here’s a list of what I’m renaming slices to:</p>
<p>Header zigzagged Background: ‘header-bg’</p>
<p>Header Logo: ‘header-logo’</p>
<p>Content zigzagged background: ‘content-bg’</p>
<p>Globe Icon, Clock Icon &amp; Twitter: ‘icon-globe’, ‘icon-clock’ &amp; ‘icon-twitter’</p>
<p>Headings: ‘we-are-global’, ‘we-are-fast’ &amp; ‘twitter’</p>
<p>Footer Background: ‘footer-bg’</p>
<p>Footer Logo: ‘footer-logo’</p>
<p>Then click File&gt;Save for Web &amp; Devices (shortcut Alt+Control+Shift+S). Select PNG-8 as your image format, then click save. In the browse view, create a new folder on your Hard Drive named ‘site’. Then choose the following settings (ensure to check the ‘interlaced’ box, and click ‘Save’. Make sure that only &#8216;User Slices&#8217; are exported.</p>
<p><img class="aligncenter size-full wp-image-190" title="gungurru-psd-to-xhtml-tutorial-014" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-014.JPG" alt="gungurru-psd-to-xhtml-tutorial-014" width="571" height="418" /></p>
<p><img class="aligncenter size-full wp-image-191" title="gungurru-psd-to-xhtml-tutorial-015" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-015.JPG" alt="gungurru-psd-to-xhtml-tutorial-015" width="494" height="113" /></p>
<p><em>Note: Photoshop should have automatically put the images into a folder named ‘images’ inside your ‘site’ folder, and if not, manually do this.</em></p>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-6822224946444846";
/* In Content 1 */
google_ad_slot = "7385672134";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>Now we have to manually delete some parts in the ‘header-bg.png’ and ‘content-bg.png’ files. Open them both up into Photoshop, and do the following (this is really important): Duplicate the background layer, and delete the original background layer. <strong><em>Don’t create a layer from background, or this won’t work.</em></strong> Now, select the magic want tool, and a tolerance of around 10, and delete the light blue colour right in the middle of the zigzag.</p>
<p><img class="aligncenter size-full wp-image-192" title="gungurru-psd-to-xhtml-tutorial-019" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-019.JPG" alt="gungurru-psd-to-xhtml-tutorial-019" width="347" height="274" /></p>
<p><img class="aligncenter size-full wp-image-193" title="gungurru-psd-to-xhtml-tutorial-020" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-020.JPG" alt="gungurru-psd-to-xhtml-tutorial-020" width="580" height="351" /></p>
<p><img class="aligncenter size-full wp-image-194" title="gungurru-psd-to-xhtml-tutorial-021" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-021.JPG" alt="gungurru-psd-to-xhtml-tutorial-021" width="580" height="351" /></p>
<p>Now for the hardest part of this tutorial: open the info panel (default key f8), and draw a rectangular selection all the way around the ‘Call to action’ bit (the stuff with the blue gradient background), and make sure to include the zigzags within your selection. Now, in the info palette, have a look at the object size bit, and look at the height value (it has an H: 000 value, where 000 is your selection height – min is 360px) and remember the height for the next part:</p>
<p><img class="aligncenter size-full wp-image-209" title="gungurru-psd-to-xhtml-tutorial-022" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-0221.JPG" alt="gungurru-psd-to-xhtml-tutorial-022" width="580" height="351" /></p>
<p>Deselect that now (Ctrl+D / Mac Cmd+D), and move the entire ‘Call-to-action’ group into a new canvas. Make the canvas height the same height as your height value from the info palette earlier. Make the width 1300px, so that the background image will fit nicely inside.</p>
<p><img class="aligncenter size-full wp-image-196" title="gungurru-psd-to-xhtml-tutorial-023" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-023.JPG" alt="gungurru-psd-to-xhtml-tutorial-023" width="427" height="357" /></p>
<p><img class="aligncenter size-full wp-image-197" title="gungurru-psd-to-xhtml-tutorial-024" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-024.JPG" alt="gungurru-psd-to-xhtml-tutorial-024" width="580" height="351" /></p>
<p>Next, select the ‘Call-to-action background’ layer, and select the gradient tool with a linear gradient like so:</p>
<p><img class="aligncenter size-full wp-image-198" title="gungurru-psd-to-xhtml-tutorial-025" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-025.JPG" alt="gungurru-psd-to-xhtml-tutorial-025" width="431" height="490" /></p>
<p>(a white to white gradient, with one side 0% opacity and the other side 100% opacity).</p>
<p>Then, draw white gradients from the outside in:</p>
<p><img class="aligncenter size-full wp-image-199" title="gungurru-psd-to-xhtml-tutorial-026" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-026.JPG" alt="gungurru-psd-to-xhtml-tutorial-026" width="580" height="351" /></p>
<p>Then, try to centralise the content, but keeping the background in the same place.</p>
<p>Then, save the image as a jpg file in the ‘images’ folder that you have used earlier, and make sure that the quality is relatively high, so as to look sleeker in the final website.</p>
<p><img class="aligncenter size-full wp-image-200" title="gungurru-psd-to-xhtml-tutorial-027" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-027.JPG" alt="gungurru-psd-to-xhtml-tutorial-027" width="335" height="287" /></p>
<p>That’s all we need to do in Photoshop! Now onto the coding! <em>Arguably, we can say that the navigation hasn’t been exported yet, but I think we should leave that to CSS, but you can do an <a href="http://css-tricks.com/css-sprites/">image sprite</a> if you want to.</em></p>
<p>In the ‘site’ folder, create a new html file and call it index.html – then insert the standard tags and whatnot (i.e. doctype, head, html &amp; body).</p>
<p>Then, create a new CSS stylesheet (call it styles.css) and link to it from the index.html file.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;link rel=&quot;stylesheet&quot; href=&quot;styles.css&quot; /&gt;
</pre>
<p>In the styles.css file, make sure that the body margin and padding are 0.<br />
Header Styles<br />
Create a #header div and apply the following:</p>
<pre class="brush: css; title: ; notranslate">
#header {
width: 100%;
height: 201px;
background: url(images/header-bg.png) repeat-x;
position: relative;
z-index: 1;
}
#header img {
margin: 63px 0px 0px -470px;
border: none;
}
</pre>
<p>Here’s the HTML for the header:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;header&quot;&gt;
&lt;a href=&quot;index.html&quot;&gt;
&lt;img src=&quot;images/header-logo.png&quot; alt=&quot;Web 2.0 Business layout from Gungurru&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;
</pre>
<p>And so far it should look like this:</p>
<p><img class="aligncenter size-full wp-image-201" title="gungurru-psd-to-xhtml-tutorial-029" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-029.JPG" alt="gungurru-psd-to-xhtml-tutorial-029" width="580" height="351" /><br />
Now for the Call-to-action image. I’m going to call it #callto in the CSS, because it saves so much time to write it out!</p>
<pre class="brush: css; title: ; notranslate">
#callto {
width: 100%;
height: 360px;
margin-top: -10px;
background: url(images/call-to-action.jpg) center no-repeat #fff;
position: relative;
z-index: 0;
}
</pre>
<p>The HTML is the following:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;callto&quot;&gt;&lt;/div&gt;
</pre>
<p>And now it should look like this:</p>
<p><img class="aligncenter size-full wp-image-202" title="gungurru-psd-to-xhtml-tutorial-030" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-030.JPG" alt="gungurru-psd-to-xhtml-tutorial-030" width="580" height="351" /></p>
<p>Next part is the main content section. In the CSS, we’ll create two divs: #top and #content (why two separate ones? The #top div is for the zigzagged lines at the top, and the #content is for the blue box underneath. The reason that the zigzagged lines cannot be a part of the #content div is because the background colour is set as #2142 and would ruin the effect)</p>
<pre class="brush: css; title: ; notranslate">
#top {
width: 100%;
height: 28px;
margin-top: -15px;
background: url(images/content-bg.png) top left repeat-x;
position: relative;
z-index: 1;
}
#content {
width: 100%;
min-height: 500px; /* This means that the box will look a nice size even with nothing in it */
background: #002142;
padding: 10px 0px 40px 0px;
}
</pre>
<p>The HTML for the content box is the following:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;top&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;content&quot;&gt;
&lt;/div&gt;
&lt;!-- Don't Close the Div Align Center until the end! --&gt;
</pre>
<p>And this is what it should look like:</p>
<p><img class="aligncenter size-full wp-image-203" title="gungurru-psd-to-xhtml-tutorial-031" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-031.JPG" alt="gungurru-psd-to-xhtml-tutorial-031" width="580" height="351" /></p>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-6822224946444846";
/* In Content 2 */
google_ad_slot = "5995438818";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>Now onto the navigation – with thanks to desizntech for this (this is using a mod of <a href="http://desizntech.info/2009/05/10-image-free-sexy-css-menu-and-how-to-create-one/">their code</a>)</p>
<pre class="brush: css; title: ; notranslate">
#nav {
background: #002142;
padding: 0px 0px 0px 20px;
height: 40px;
list-style: none;
font-family: &quot;arial rounded mt bold&quot;, arial, &quot;lucida console&quot;, sans-serif;
width: 876px;
}
#nav ul {
margin: 0 auto;
padding: 0;
}
#nav li {
float: left;
margin: 0;
padding:0px 30px 0px 0px;
}
#nav a {
display: block;
line-height: 30px;
margin: 0;
padding: 10px 20px;
font-size: 30px;
color: #fff;
text-decoration: none;
background: #none;
}
#nav a:hover {
text-decoration: none;
background: #66789c;
}
.current {
background: #66789c;
}
</pre>
<p>What you may need to modify is the #nav width. This is what it is so that the Menu can be centred.<br />
And here’s the html for it:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;ul id=&quot;nav&quot;&gt;
&lt;li&gt;
&lt;a class=&quot;current&quot; href=&quot;#&quot;&gt;Home&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;#&quot;&gt;Portfolio&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;#&quot;&gt;Services &amp;amp; Pricing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;#&quot;&gt; Contact &lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>And that should be the navigation styling!<br />
This is what the site should look like now:</p>
<p><img class="aligncenter size-full wp-image-204" title="gungurru-psd-to-xhtml-tutorial-032" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-032.JPG" alt="gungurru-psd-to-xhtml-tutorial-032" width="576" height="360" /></p>
<p>Next, we need to style the three columns. I’m just going to go right ahead and style it as an unordered list…</p>
<pre class="brush: css; title: ; notranslate">
#columns {
list-style: none;
width: 890px;
padding-top: 30px;
}
#columns ul {
margin: 0 auto;
padding: 0;
}
#columns li {
display: inline-block;
text-align: center;
width: 280px;
vertical-align: top;
}
#columns p {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
color: #FFF;
text-align: left;
padding: 0px 10px;
}
#columns img {
border: none;
}
.global {
padding: 0px 10px;
}
.fast {
padding: 0px 10px;
}
.twitter {
width: 290px;
}
</pre>
<p>And here’s the html to go with it:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;ul id=&quot;columns&quot;&gt;
&lt;li class=&quot;global&quot;&gt;
&lt;img src=&quot;images/icon-globe.png&quot; alt=&quot;Globe Icon&quot; /&gt;
&lt;br /&gt;
&lt;img src=&quot;images/we-are-global.png&quot; alt=&quot;We Are Global&quot; /&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
&lt;/p&gt;
&lt;/li&gt;
&lt;li class=&quot;fast&quot;&gt;
&lt;img src=&quot;images/icon-clock.png&quot; alt=&quot;Clock Icon&quot; /&gt;
&lt;br /&gt;
&lt;img src=&quot;images/we-are-fast.png&quot; alt=&quot;We Are Fast&quot; /&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit.
&lt;/p&gt;
&lt;/li&gt;
&lt;li class=&quot;twitter&quot;&gt;
&lt;img src=&quot;images/icon-twitter.png&quot; alt=&quot;Twitter Icon&quot; /&gt;
&lt;br /&gt;
&lt;img src=&quot;images/twitter.png&quot; alt=&quot;We Are On Twitter&quot; /&gt;
&lt;!-- Here you need to put your personal code in from www.twitter.com/badges --&gt;
&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>Now it should look like this:</p>
<p><img class="aligncenter size-full wp-image-205" title="gungurru-psd-to-xhtml-tutorial-033" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-033.JPG" alt="gungurru-psd-to-xhtml-tutorial-033" width="580" height="351" /></p>
<p>Finally, onto the footer styles:</p>
<pre class="brush: css; title: ; notranslate">
#footer {
background: url(images/footer-bg.png) repeat-x left top #ccc;
width: 100%;
min-height: 100px;
margin-top: -16px;
}
#footer p {
width: 890px;
background: url(images/footer-logo.png) no-repeat bottom right;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #666;
padding-top: 50px;
}
</pre>
<p>And here’s the html to go with it:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;footer&quot;&gt;
&lt;p&gt;
Copyright Gungurru Web Design 2009
&lt;/p&gt;
&lt;/div&gt;
</pre>
<p>Note: that last div closes the div align center from earlier…</p>
<p>And, if I’ve managed to give correct instruction, the site <em>should </em>look something like this:<br />
<img class="aligncenter size-full wp-image-206" title="gungurru-psd-to-xhtml-tutorial-034" src="http://gungurru.com/blog/wp-content/uploads/2009/08/gungurru-psd-to-xhtml-tutorial-034.JPG" alt="gungurru-psd-to-xhtml-tutorial-034" width="567" height="569" /></p>
<p><a href="http://gungurru.com/blog/demo/business/"><img class="aligncenter size-full wp-image-219" title="demo" src="http://gungurru.com/blog/wp-content/uploads/2009/08/demo.jpg" alt="demo" width="203" height="50" /></a></p>
<p>And that concludes this tutorial: Please do tell me what you think and how you got on with the tutorial! And if you have found this useful, and want to see more, just subscribe for the latest updates (there&#8217;s an interview with Chris Spooner coming up soon)!</p>


<p>Related posts:<ol><li><a href='http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-1/' rel='bookmark' title='Create a Sleek Web 2.0 Style Website Layout: a Photoshop Tutorial (Part 1)'>Create a Sleek Web 2.0 Style Website Layout: a Photoshop Tutorial (Part 1)</a></li>
<li><a href='http://gungurru.com/blog/tutorials/create-a-retro-vintage-wwii-style-poster-a-photoshop-tutorial/' rel='bookmark' title='Create a Retro Vintage WWII Style Poster: A Photoshop Tutorial'>Create a Retro Vintage WWII Style Poster: A Photoshop Tutorial</a></li>
<li><a href='http://gungurru.com/blog/tutorials/design-a-warm-nature-website-layout-a-photoshop-tutorial/' rel='bookmark' title='Design a Warm Nature Website Layout: a Photoshop Tutorial'>Design a Warm Nature Website Layout: a Photoshop Tutorial</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gungurru.com/blog/tutorials/create-a-sleek-web-2-0-style-website-layout-a-photoshop-tutorial-part-2/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

