<?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>Webdevtuts &#187; part2</title>
	<atom:link href="http://www.webdevtuts.net/tag/part2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevtuts.net</link>
	<description>Making tutorials fun and easy!</description>
	<lastBuildDate>Mon, 23 Jan 2012 11:36:02 +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>Part 2: Create a beautiful contact form from scratch using Photoshop, HTML, and CSS</title>
		<link>http://www.webdevtuts.net/coding/part-2-create-a-beautiful-contact-form-from-scratch-using-photoshop-html-and-css/</link>
		<comments>http://www.webdevtuts.net/coding/part-2-create-a-beautiful-contact-form-from-scratch-using-photoshop-html-and-css/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 16:41:04 +0000</pubDate>
		<dc:creator>Marcell Purham</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[contact]]></category>
		<category><![CDATA[contact form]]></category>
		<category><![CDATA[contact form part 2]]></category>
		<category><![CDATA[contact form tutorial]]></category>
		<category><![CDATA[css web form]]></category>
		<category><![CDATA[design form.]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[part2]]></category>
		<category><![CDATA[web form]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=2056</guid>
		<description><![CDATA[Forms are one of the most difficult tasks you can encounter when coding a website, well at least it was for me when I first started. Many designers do very good up until this point or get to this point and just give up on contact forms. Well if you’re one of those designers or are completely new to creating web forms have no worries. In today’s tutorial I will teach you how to create a contact form from scratch using Photoshop to design it and slicing it up for code using HTML, CSS. Part 2 of the 3 tutorials will cover how to code the form to HTML/CSS. Enjoy <a href="http://www.webdevtuts.net/coding/part-2-create-a-beautiful-contact-form-from-scratch-using-photoshop-html-and-css/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Forms are one of the most difficult tasks you can encounter when <strong>coding a website</strong>, well at least it was for me when I first started. Many designers do very good up until this point or get to this point and just give up on<strong> contact forms</strong>. Well if you’re one of those designers or are completely new to creating web forms have no worries. In today’s tutorial I will teach you how to <strong>create a contact form from scratch using Photoshop</strong> to <strong>design it and slicing it up for code using HTML, CSS</strong>. Part 2 of the 3 tutorials will cover how to code the form to HTML/CSS. Enjoy</p>
<div class="block_dload"><a class="dload" title="Download" href="https://s3.amazonaws.com/webdevtuts/uploads/2010/contact.rar" target="_blank">Download</a> <a class="demo" title="Demonstration" href="http://demo.webdevtuts.net/contact/contact.html" target="_blank">Demo</a></div>
<h1>Step 1</h1>
<p>Since we have our design ready to go for coding lets begin. I have created a diagram of what to slice in this tutorial. I will explain below.<br />
<a title="Part 2: Create a beautiful contact form from scratch using Photoshop, HTML, and CSS" href="https://s3.amazonaws.com/webdevtuts/uploads/2010/11/diagram.jpg" target="_blank"><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2010/11/diagram_small.jpg" alt="Contact Form" /></a></p>
<ol>
<li>When Slicing the logo make sure you turn off all layers except the logo image then save it as a transparent(PNG) image.</li>
<li>This is our form background that will be repeated.</li>
<li>This is our fields background image that wil be repeated.</li>
<li>This is our Message field background image that wil be repeated.</li>
<li>This is our send button that we will use as our submit button.</li>
</ol>
<h2>The HTML</h2>
<p>Copy the code below into your HTML document then I will explain it below.</p>
<pre class="brush:php">&lt;div id="wrap"&gt;
	&lt;form class="form"&gt;
	&lt;h1 id="top_name"&gt;&lt;/h1&gt;
		&lt;ul&gt;
			&lt;li class="name"&gt;
				&lt;label for="name"&gt;Name:&lt;/label&gt;
				&lt;input type="text" name="name" id="name" /&gt;
			&lt;/li&gt;

			&lt;li class="email"&gt;
				&lt;label for="email"&gt;E-mail:&lt;/label&gt;
				&lt;input type="text" name="email" id="email" /&gt;
			&lt;/li&gt;

			&lt;li class="website"&gt;
				&lt;label for="website"&gt;Website:&lt;/label&gt;
				&lt;input type="text" name="website" id="website" /&gt;
			&lt;/li&gt;

			&lt;li class="message"&gt;
				&lt;label for="website"&gt;Comment:&lt;/label&gt;
				&lt;textarea name="message"&gt;&lt;/textarea&gt;
			&lt;/li&gt;

			&lt;span&gt;&lt;p&gt;Double Check everything! I don't want to respond to the wrong information!&lt;/p&gt;&lt;/span&gt;

			&lt;li class="submit"&gt;
				&lt;input type="submit" id="button" value="Send" /&gt;
			&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/form&gt;
&lt;/div&gt;&lt;!--end wrap--&gt;</pre>
<ul>
<li><strong> wrap</strong> &#8211; The wrap id is what will hold our contact form into place. I used the wrap id to center the form on the screen.</li>
<li> <strong>form </strong>- The form class is what will hold our form. I used this to make the form a specific width and add an background image to it.</li>
<li><strong> input</strong> (name, email, website and message) &#8211; These are the fields for the form.</li>
<li><strong> label</strong> &#8211; The label is what I use for the names. So the name field would be name name, full name etc.</li>
<li> <strong>span</strong> &#8211; I used the span tag to define a specific element. In that case the paragraph tag.</li>
<li> <strong>submit</strong> &#8211; The submit class is the send button for the form.</li>
</ul>
<h2>The CSS</h2>
<p>Copy the code below into your css document then I will explain it below.</p>
<pre class="brush:css">body {
	background:url(images/background.png);
}
.form {
	background:#cdd6d8 url(images/form-bg.jpg);
	width:500px;
	float:left;
	border:1px solid #cfd7d5;
	-moz-border-radius:10px;
	margin-bottom:50px;
}

input#name,
input#email,
input#website {
	padding:15px;
	border:1px solid #e5e5e5;
	width:400px;
	background:url(images/input-bg.jpg);
	-moz-border-radius:10px;
}

.form li {
	list-style:none;
	margin-bottom:10px;
}

textarea {
	width:400px;
	height:150px;
	overflow:auto;
	padding:15px;
	background:url(images/msg-bg.jpg);
	-moz-border-radius:10px;
	border:none;
}

textarea:focus,
input#name:focus,
input#email:focus,
input#website:focus {
	border: 1px solid #a5a5a5;
}

label {
	font-family:'Tahoma';
	font-size:14px;
	color:#808080;
}

#button {
	background: url("images/button.png");
	width:129px;
	height:68px;
	float:right;
	text-indent:-9999px;
	border:none;
	display:block;
	margin:0 25px 0 0;
}

#button:hover {
	background: url("images/button-active.png");
}

#wrap {
	width:600px;
	margin: 0 auto;
}

#top_name {
	background:url(images/contact.png);
	height:75px;
	width:275px;
	margin: 10px auto;
}

span {
	font-size:10px;
	float:left;
	font-family:'Tahoma';
	width:300px;
	margin-top:7px;
	color:#454747;
}</pre>
<ul>
<li><strong>body</strong> &#8211; The body is what covers the entire background. So the pattern file you&#8217;ve downloaded in part 1 of this tutorial was set to the background image and it repeated itself.</li>
<li><strong>form</strong> &#8211; The form is what hold our form.  I made the form a specific width and gave it rounded corners using css3.</li>
<li><strong>Input</strong> &#8211; The input was style and gave a width so all fields would be the same width.</li>
<li><strong>Textarea</strong> &#8211; The text area is the area that holds the message text.</li>
<li><strong>Input focus</strong> &#8211; The input focus is whenever you click on a field. I used a border so you would know what field you&#8217;re currently at.</li>
<li><strong>Label</strong> &#8211; The label is what holds our field headings such as name, email etc. I applied a font size, and color to the labels.</li>
<li><strong>Button</strong> &#8211; The button is used for the submit button. I create a button so users would not have to see the hideous default button.</li>
<li><strong>Wrap</strong> &#8211; The wrap is what holds and contains the contact form.</li>
<li><strong>Top name</strong> &#8211; The top name is the logo(Contact Us). I used an image to define the logo.</li>
<li><strong>Span</strong> &#8211; The span is what I used for our little text to the left of the submit button.</li>
</ul>
<p>You&#8217;re now done with the contact form coding. The first part of this tutorial we covered how to design and create a contact form then in part two of this tutorial you learned how to code the contact form. If you are still having a hard time trying to figure out how something was done download the contact form and tamper with the code. The next part of this tutorial will cover how to make the contact form work with PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/coding/part-2-create-a-beautiful-contact-form-from-scratch-using-photoshop-html-and-css/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>PSD to WordPress Series Part 2</title>
		<link>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/</link>
		<comments>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 02:49:13 +0000</pubDate>
		<dc:creator>Marcell Purham</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[html to wordpress]]></category>
		<category><![CDATA[part2]]></category>
		<category><![CDATA[photoshop to wordpress]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[psd to wordpress part 2]]></category>
		<category><![CDATA[psd to wp]]></category>
		<category><![CDATA[series]]></category>
		<category><![CDATA[wordpress theme development]]></category>
		<category><![CDATA[wordpress theme development tutorial]]></category>
		<category><![CDATA[wordpress theme tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=304</guid>
		<description><![CDATA[I know there are many developers and normal people who want to know how to design a Wordpress theme from scratch. Well today is your lucky day. In this series, PSD to Wordpress we will design a Mockup in Photoshop, then code it for Wordpress.(part2) <a href="http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know there are many developers and normal people who want to know how to design a wordpress theme from scratch. Well today is your lucky day. In this series, PSD to WordPress we will design a Mockup in Photoshop, then code it for wordpress. If everyone likes this tutorial then we will also do a theme option for it. So let&#8217;s get this thing started.</p>
<div class="block_dload">
<a class="dload" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/07/downloads/psdtowordpresspt2.rar" title="Download" target="_blank">Download</a> <a class="demo" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/final-preview.jpg" title="demonstration" target="_blank">Final</a>
</div>
<p>Welcome to part 2 of PSD to WordPress Series. In this part of the tutorial we&#8217;re going to slice and code our theme for valid Xhtml/css.</p>
<p><b>Note:</b> I do not slice my layouts because I end up having so many unused images so in this tutorial we&#8217;re going to crop everything. Also When you have a cropped image I will not go over how to save.</p>
<h2>Step 1</h2>
<p>Open Photoshop (Continue where we left of from previous tutorial)</p>
<h2>Step 2</h2>
<p>Select the crop tool<br />
<img class="aligncenter" class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/2.slicetool.jpg" alt="crop tool" /></p>
<h2>Step 3</h2>
<p>First thing we&#8217;re going to crop will be the header top. ( Press enter key when you feel you have the appropriate crop. ) Save as body-bg.jpg</p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/3.headertop.jpg" alt="crop header top" /></p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/3.headertopper.jpg" alt="after crop" /></p>
<p><b>Note:</b> After you crop an image go to File&gt;&gt;Revert or press F12 to go back to last save point</p>
<h2>Step 4</h2>
<p>Now we will crop our logo. ( save as logo.jpg )<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/4croplogo.jpg" alt="crop logo" /></p>
<h2>Step 5</h2>
<p>To speed things up so we can get to coding this thing, I will go over the next 3 objects we will need to crop.</p>
<p>Post Thumbnail: Save as Post_thumb.jpg<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/cropthumb.jpg" alt="crop thumbnail" /></p>
<p>Sample ad 125&#215;125: Save as ad125.jpg<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/cropad.jpg" alt="125 ad" /></p>
<p>Flickr image: Save as flk_samp.jpg<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/cropflick.jpg" alt="flickr thumb" /></p>
<p>Now that we&#8217;ve finished cropping the images that well need for our layout, we can get to coding it.( Woooooooooooooo! )</p>
<p><b>Note:</b> Before we begin this tutorial Make sure you create a new folder so you can store files.</p>
<h2>Step 1</h2>
<p>Open dreamweaver ( Other text editors are fine! ) File&gt;&gt;New&gt;&gt;HTML&gt;none<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/1.new.jpg" alt="open dreamweaver" /></p>
<h2>Step 2</h2>
<p>We will first begin by creating our header section. Go ahead and copy &amp; paste it . I will explain it below.</p>
<pre class="brush:php">
&lt;div id=&quot;header&quot;&gt;
&lt;div id=&quot;main_nav&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Articles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Photoshop&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Resources&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Flash&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Freebies&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!--end main_nav--&gt;

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

&lt;div id=&quot;logo&quot;&gt;&lt;/div&gt;&lt;!--end logo--&gt;

&lt;/div&gt;&lt;!--end header--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<h2>Step 3</h2>
<p>For the navigation I used an unordered list with links inside. Also we will take care of the logo and clear class when we begin styling our theme.</p>
<p><b>Note:</b> If you&#8217;re not familiar with that it is basically a push down for our theme. For example if you do not clear the floats the theme and everything will be completely disorder.</p>
<h2>Step 4</h2>
<p>Now we will begin adding the content. First we will create the page wrap to contain all of our content.</p>
<pre class="brush:php">
&lt;div id=&quot;Container&quot;&gt;

&lt;/div&gt;&lt;!--end container--&gt;
</pre>
<h2>Step 5</h2>
<p>Now we will create our main column which will hold all of our post, thumbnails and etc. The code below will go inside of the container tags.</p>
<pre class="brush:php">
&lt;div id=&quot;main_col&quot;&gt;

&lt;/div&gt;&lt;!--end main_col--&gt;
</pre>
<h2>Step 6</h2>
<p>Ok so we have our main_col wrap created, we can now start to add our post to our theme. div class=&#8221;post_break&#8221; holds our posts information. When working with divs id can not be repeated so we used a class so that we can repeat it and have valid code.</p>
<p>div id=&#8221;post_thumb&#8221; is our thumbnail for our </p>
<p>div id=&#8221;post_info&#8221; is what we will used to define the author and tags. </p>
<p>div id=&#8221;post_text&#8221; will be used for our wordpress excerpt.<br />
div id=&#8221;post_more&#8221; will be used to link our front page to the actual post. The will keep everything from overlapping and pushed the divs down. Now it&#8217;s time to Add the code below inside of the main_col div.</p>
<pre class="brush:php">
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot;/&gt;&lt;/div&gt;&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;&lt;p&gt;Posted in &lt;a href=&quot;&quot;&gt;Articles&lt;/a&gt;, by &lt;a href=&quot;&quot;&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a href=&quot;&quot;&gt;19 comments&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;
&lt;p&gt;
vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.
&lt;/p&gt;
&lt;a href=&quot;&quot; class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;
&lt;/div&gt;&lt;!--end post_text--&gt;
&lt;/div&gt;&lt;!--end post_break--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<p><b>Note:</b> Copy and paste the code above 4 times.</p>
<h2>Step 7</h2>
<p>Now it&#8217;s time to create our sidebar. For the sidebar I used an unordered list for advertising since most people want to run ads on their blog. Copy &#038; paste the code below inside of the main_col div.</p>
<pre class="brush:php">
&lt;div id=&quot;sidebar&quot;&gt;
&lt;h2&gt;Sponsors&lt;/h2&gt;
&lt;ul id=&quot;adverts&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;!--adverts--&gt;

&lt;a class=&quot;side_more&quot; href=&quot;&quot;&gt;Advertise here&lt;/a&gt;

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

&lt;h2&gt;Flickr&lt;/h2&gt;
&lt;ul id=&quot;flickr&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;!--end flickr--&gt;

&lt;/div&gt;&lt;!--end sidebar--&gt;
&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<h2>Step 8</h2>
<p>For the last html markup we will now add the footer</p>
<pre class="brush:php">
&lt;div id=&quot;footer&quot;&gt;
&lt;p&gt;Copyright 2009 Your Website.com All rights reserved&lt;/p&gt;
&lt;/div&gt;&lt;!--end footer--&gt;
</pre>
<h2>Step 9</h2>
<p>Here is the final HTML code.</p>
<pre class="brush:php">
&lt;div id=&quot;header&quot;&gt;
&lt;div id=&quot;main_nav&quot;&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a&gt;Home&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Articles&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Photoshop&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Resources&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Flash&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Freebies&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!--end main_nav--&gt;

&lt;!--end logo--&gt;&lt;/div&gt;
&lt;!--end header--&gt;
&lt;div id=&quot;Container&quot;&gt;
&lt;div id=&quot;main_col&quot;&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;&lt;/div&gt;
&lt;!--end main_col--&gt;
&lt;div id=&quot;sidebar&quot;&gt;
&lt;h2&gt;Sponsors&lt;/h2&gt;
&lt;ul id=&quot;adverts&quot;&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--adverts--&gt;

&lt;a class=&quot;side_more&quot;&gt;Advertise here&lt;/a&gt;
&lt;h2&gt;Flickr&lt;/h2&gt;
&lt;ul id=&quot;flickr&quot;&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--end flickr--&gt;&lt;/div&gt;
&lt;!--end sidebar--&gt;&lt;/div&gt;
&lt;!--end Container--&gt;

&lt;div id=&quot;footer&quot;&gt;
&lt;p&gt;Copyright 2009 Your Website.com All rights reserved&lt;/p&gt;
&lt;/div&gt;&lt;!--end footer--&gt;
</pre>
<h2>Step 10</h2>
<p>Now it&#8217;s time to style our HTML. We will begin by linking our stylesheet with our HTML document. Place the following code in the head section of the HTML.<br />
<img src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/10.style.jpg" alt="stylesheet" /></p>
<pre class="brush:css">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; /&#038;gt
</pre>
<h2>Step 11</h2>
<p>First let&#8217;s add our css reset into the top part of our stylesheet.</p>
<pre class="brush:css">
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, p, blockquote, table, th, td, embed, object {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img, abbr {
border: 0;
}
address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
font-weight: normal;
font-style: normal;
}
ul {
list-style: none;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.0em;
}
q:before, q:after {
content: &#039;&#039;;
}
a, ins {
text-decoration: none;
}
</pre>
<h2>Step 12</h2>
<p>Now lets add our basic typography into our stylesheet.</p>
<pre class="brush:css">
.clear							{ clear:both; }
a,a:hover,a:visited				{ color:#b8bab6; }
p							   { line-height:18px; }
</pre>
<h2>Step 13</h2>
<p>Ok we will now style our main divs.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/13.maindivs.jpg" alt="style main div tags" /></p>
<pre class="brush:css">
body							{ background: #72434d url(images/body-bg.jpg) repeat-x ; font-family:arial; }
#Container						{ width:972px; margin:0 auto; }
#header							{ width:972px; margin:auto; }
#logo							{ width:317px; height:98px; background:url(images/logo.jpg); }
#main_col						{ width:640px; float:left; padding:15px; font-family:arial; }
#main_col p						{ font-size:12px; text-align:left; padding-bottom:2em }
</pre>
<h2>Step 14</h2>
<p>It&#8217;s time to style the navigation.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/14.nav.jpg" alt="style navigation" /></p>
<pre class="brush:css">
/*
Navigation
*/
#main_nav						{ float:left; margin:10px 0 21px 0;}
#main_nav li						{ display:inline; font-weight:bold; font-size:12px;}
#main_nav li a					{ color:#fff;}
</pre>
<h2>Step 15</h2>
<p><strong>Post_break&gt;</strong>The code below will style our post.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/15.postbreak.jpg" alt="style post area" /></p>
<pre class="brush:css">
/*
Post
*/
.post_break						{ float:left; margin:10px 0 10px 0; }
.post_break h2					{ color:#222226; font-family: arial; font-weight:bold; font-size:24px; }
#post_text						{ padding:40px 0; font-size:12px; font-family:arial; }
#post_info						{ background:#000; float:left; color:#fff; font-size:12px; padding:5px;  margin:5px 0 5px 0;}
#post_info p						{ padding:0;}
#post_thumb						{ float:right;}
a.post_more						{ font-size:12px; color:#fff; float:right; margin-right:20em;}
</pre>
<h2>Step 16</h2>
<p><strong>adverts</strong> This will style the code thumbnails in our sidebar<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/16.adverts.jpg" alt="style thumbnails in sidebar" /></p>
<pre class="brush:css">
/*
Adverts
*/
#adverts						{ margin:0 0 0 10px;}
#adverts li						{ display:block; float:left; margin:5px 5px; }
#adverts 						{ }
#adverts						{ }
#flickr							{ margin:10px 0 0 10px;	}
#flickr li 						{ display:block; float:left; margin:5px;}
</pre>
<h2>Step 17</h2>
<p><strong>sidebar</strong> This will style out sidebar and sidebar headings<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/17.sidebar.jpg" alt="style side heading" /></p>
<pre class="brush:css">
/*
sidebar
*/
#sidebar						{ width:290px; float:right; background:#000;  }
#sidebar  h2						{ color:#fff; font-family: arial; font-weight:bold; font-size:31px; background:#71434b; padding:5px; margin:30px 40px 0 0; }
.side_more						{ font-size:12px; color:#fff; margin:0 15px; float:right;}
</pre>
<h2>Step 18</h2>
<p><strong>footer</strong> The final code below will style our wonderful, but simple footer.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/18.footer.jpg" alt="footer" /></p>
<pre class="brush:css">
/*
Footer
*/
#footer							{ margin: auto; background:#000; height:50px; color:#fff; text-align:center; font-size:12px; font-weight:bold; }
#footer p						{ padding:15px;}
</pre>
<p>Here is the final css code! Hope this tutorial helps. Please leave comments giving feedback</p>
<pre class="brush:css">
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, p, blockquote, table, th, td, embed, object {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img, abbr {
border: 0;
}
address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
font-weight: normal;
font-style: normal;
}
ul {
list-style: none;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.0em;
}
q:before, q:after {
content: &#039;&#039;;
}
a, ins {
text-decoration: none;
}

/*---------------------------------------------------------------Code starts--------------------------------------------------------------------------------------*/
.clear							{ clear:both; }
a,a:hover,a:visited				{ color:#b8bab6; }
p								{ line-height:18px; }

body							{ background: #72434d url(images/body-bg.jpg) repeat-x ; font-family:arial; }
#Container						{ width:972px; margin:0 auto; }
#header							{ width:972px; margin:auto; }
#logo							{ width:317px; height:98px; background:url(images/logo.jpg);}
#main_col						{ width:640px; float:left; padding:15px; font-family:arial;}
#main_col p						{ font-size:12px; text-align:left; padding-bottom:2em}

/*
Navigation
*/
#main_nav						{ float:left; margin:10px 0 21px 0;}
#main_nav li						{ display:inline; font-weight:bold; font-size:12px;}
#main_nav li a					{ color:#fff;}

/*
Post
*/
.post_break						{ float:left; margin:10px 0 10px 0; }
.post_break h2					{ color:#222226; font-family: arial; font-weight:bold; font-size:24px; }
#post_text						{ padding:40px 0; font-size:12px; font-family:arial; }
#post_info						{ background:#000; float:left; color:#fff; font-size:12px; padding:5px;  margin:5px 0 5px 0;}
#post_info p						{ padding:0;}
#post_thumb						{ float:right;}
a.post_more						{ font-size:12px; color:#fff; float:right; margin-right:20em;}

/*
Adverts
*/
#adverts						{ margin:0 0 0 10px;}
#adverts li						{ display:block; float:left; margin:5px 5px; }
#adverts 						{ }
#adverts						{ }
#flickr							{ margin:10px 0 0 10px;	}
#flickr li 						{ display:block; float:left; margin:5px;}

/*
sidebar
*/
#sidebar						{ width:290px; float:right; background:#000;  }
#sidebar  h2						{ color:#fff; font-family: arial; font-weight:bold; font-size:31px; background:#71434b; padding:5px; margin:30px 40px 0 0; }
.side_more						{ font-size:12px; color:#fff; margin:0 15px; float:right;}

/*
Footer
*/
#footer							{ margin: auto; background:#000; height:50px; color:#fff; text-align:center; font-size:12px; font-weight:bold; }
#footer p						{ padding:15px;}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: S3: webdevtuts.s3.amazonaws.com

Served from: www.webdevtuts.net @ 2012-02-07 17:43:30 -->
