<?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>WirthDesign</title>
	<atom:link href="http://wirthdesign.com/feed" rel="self" type="application/rss+xml" />
	<link>http://wirthdesign.com</link>
	<description></description>
	<lastBuildDate>Sun, 11 Jul 2010 04:32:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Tutorial: One Object With Mutliple CSS Classes</title>
		<link>http://wirthdesign.com/tutorial-one-object-with-mutliple-css-classes.html</link>
		<comments>http://wirthdesign.com/tutorial-one-object-with-mutliple-css-classes.html#comments</comments>
		<pubDate>Thu, 08 Jul 2010 16:30:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[declarations]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/?p=264</guid>
		<description><![CDATA[Here is a great technique for intermediate CSS users. I use this technique often for Social Media icons, buttons or any objects that have similar yet different declarations. While this technique works in all major browsers you may have trouble...]]></description>
			<content:encoded><![CDATA[<style type="text/css">
.post p {clear:both;}
.square {width:30px;height:30px;display:block;border:1px solid #333;float:left;margin:10px;}
.red {background-color:#f00;}
.orange {background-color:#f39720;}
.blue {background-color:#00f;}
.circle {-moz-border-radius: 15px;-webkit-border-radius: 15px;}
</style>
<p>Here is a great technique for intermediate CSS users. I use this technique often for Social Media icons, buttons or any objects that have similar yet different declarations. While this technique works in all major browsers you may have trouble getting this to work in browsers OLDER than IE6. I&#8217;ve noticed that WordPress uses this technique as well.</p>
<p>So let&#8217;s get the ball rolling. Let&#8217;s say we&#8217;re going to have 3 squares like below.</p>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<p>Here is the code I used.</p>
<p><code>.square {<br />
width:30px;<br />
height:30px;<br />
display:block;<br />
border:1px solid #333;<br />
float:left;<br />
margin:10px;<br />
}<br />
</code></p>
<p><code>&lt;div class="square"&gt;&lt;/div&gt;<br />
&lt;div class="square"&gt;&lt;/div&gt;<br />
&lt;div class="square"&gt;&lt;/div&gt;</code></p>
<p>Now let&#8217;s set up three colors for our squares.</p>
<p><code>.red {background-color:#f00;}<br />
.orange {background-color:#f39720;}<br />
.blue {background-color:#00f;}<br />
</code></p>
<p><code>&lt;div class="square red"&gt;&lt;/div&gt;<br />
&lt;div class="square orange"&gt;&lt;/div&gt;<br />
&lt;div class="square blue"&gt;&lt;/div&gt;</code></p>
<div class="square red"></div>
<div class="square orange"></div>
<div class="square blue"></div>
<p>How about we make one a circle using CSS3 because that&#8217;s how I like to party.</p>
<p><code>.circle {-moz-border-radius: 15px;-webkit-border-radius: 15px;}</code></p>
<p><code>&lt;div class="square red"&gt;&lt;/div&gt;<br />
&lt;div class="square orange circle"&gt;&lt;/div&gt;<br />
&lt;div class="square blue"&gt;&lt;/div&gt;</code></p>
<div class="square red"></div>
<div class="square orange circle"></div>
<div class="square blue"></div>
<p>Here&#8217;s how this looks all put together. You can switch the colors or the circle class to any of the three squares.</p>
<p><code>&lt;style type="text/css"&gt;<br />
.post p {clear:both;}<br />
.square {width:30px;height:30px;display:block;border:1px solid #333;float:left;margin:10px;}<br />
.red {background-color:#f00;}<br />
.orange {background-color:#f39720;}<br />
.blue {background-color:#00f;}<br />
.circle {-moz-border-radius: 15px;-webkit-border-radius: 15px;}<br />
&lt;/style&gt;<br />
&nbsp;<br />
&lt;div class="square red"&gt;&lt;/div&gt;<br />
&lt;div class="square orange circle"&gt;&lt;/div&gt;<br />
&lt;div class="square blue"&gt;&lt;/div&gt;<br />
</code></p>
<p>Hope you enjoy this tutorial, it can really come in handy if you get creative. You could for instance make a class called .right and the only declaration could be that it floats the element to the right. If you have any questions let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/tutorial-one-object-with-mutliple-css-classes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelancer Turned Co-Worker Pt. 1</title>
		<link>http://wirthdesign.com/freelancer-turned-co-worker-pt-1.html</link>
		<comments>http://wirthdesign.com/freelancer-turned-co-worker-pt-1.html#comments</comments>
		<pubDate>Sun, 04 Jul 2010 04:22:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[freelance]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[team work]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/?p=158</guid>
		<description><![CDATA[As a freelancer my only source of feedback was from the client and anyone in my Twitter feed who took notice of my project. Feedback is crucial in this line of work because it's very easy to get lost in what your doing and lose sight of the big picture.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been over a month now that I&#8217;ve started my first full time  position as a front end programmer/designer. Now that I&#8217;ve had a taste  of working within a company I&#8217;ll share my experiences thus far.<br />
<span id="more-158"></span></p>
<h2>Working with a team</h2>
<p>In the past my experience working with other designers/developers has  been limited. I now work directly with programmers as well as a few  graphic designers from time to time. Having like minded people to bounce  ideas off of has helped me think differently about how and why I do  things as I&#8217;m designing.</p>
<p>As a freelancer my only source of feedback was from the client and  anyone in my Twitter feed who took notice of my project. Feedback is  crucial in this line of work because it&#8217;s very easy to get lost in what  your doing and lose sight of the big picture.<img title="More..." src="http://wirthdesign.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<h2>Designing with less restraints</h2>
<p>During my first big project with the company one of my interviewers  had commented that my work was looking better than what I had in my  portfolio. The reason for this is that a majority of my clients were  interested in web design packages that were competitively priced.  With  keeping things competitive I could only produce a limited number  concepts. I&#8217;m now in an environment where I am free to conceptualize my  ideas.</p>
<h2>In conclusion</h2>
<p>Making the switch from freelancer to full time employee has been a  great move for me personally. It&#8217;s shown me that on my previous career  path that I could not have gotten as far on my own as I have now. I feel  more challenged now than I have in the past six months and I feel this  is where I need to be. If I were to have chosen full time freelancer  over taking a position I think I would have had to work even harder to  keep from becoming stagnant. I see how important it is for freelancers  to network and take on bigger fish than they&#8217;re used to.</p>
<p>I&#8217;d love to hear your comments or questions, thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/freelancer-turned-co-worker-pt-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do you code CSS?</title>
		<link>http://wirthdesign.com/how-do-you-code-css.html</link>
		<comments>http://wirthdesign.com/how-do-you-code-css.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:23:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/blog/?p=108</guid>
		<description><![CDATA[In this post I take a moment to review my current style of writing CSS. Sometimes coding environments can cause CSS authors to write a particular way that can make you rethink how you code. Take WordPress for example... you don't have use of the tab key so authors tend to write their code horizontally apposed to...]]></description>
			<content:encoded><![CDATA[<p>Over the past year I have seen CSS coded in various ways. I started out learning what I consider to be the most common method.</p>
<p><code>body {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color: #000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color: #fff;<br />
}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
#container {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height: auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width: 960px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin: 0 auto;<br />
}</code></p>
<p>If using Adobe Dreamweaver&#8217;s Source Formatting <span id="more-108"></span> it will appear like the above. Now when I started getting into WordPress style sheets I found that some authors would code a little different.</p>
<p><code>body {background-color: #000; color: #fff;}<br />
&nbsp;<br />
#container {height: auto; width: 960px; margin: 0 auto;}</code></p>
<p>This code writing style is a result of the WordPress coding environment. Since your probably at some time or another going to be modifying your style sheet through the WordPress Admin you won&#8217;t be able to use the Tab key in order to space your properties below your selectors. Even though this is a coding style that is a result of problem solving around the Tab key function, it also has some things I find attractive about it. This technique significantly reduces your lines of code. Since the code is being entered in a horizontal orientation you also benefit from heavy vertical scrolling. The first example I find much easier to scan through to find the desired selector.</p>
<p>The last thing I want to touch on is order of the properties. When I first start writing a style sheet I try to organize them but I sometimes end up breaking that order. I always try to keep related things together like dimensions, visual elements, sorting functions etc. In some of the books I read they recommend having multiple style sheets like one for appearances, fonts etc but I just don&#8217;t find that to be very efficient sometimes.</p>
<p>In conclusion I use a combination of these two methods. If a selector only has one property below it for example&#8230;</p>
<p><code>p {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding: 10px 5px;<br />
}</code></p>
<p>I will sometimes make it one line like this</p>
<p><code>p {padding: 10px 5px;}</code></p>
<p>There is no confusion for me to find that property because it&#8217;s singular. Only thing I don&#8217;t like about making it one line is that it sticks out and is not consistent but I do like that it takes up less space. I am pretty particular and always striving to do things that make the most sense. Of course it&#8217;s going to work either way but I like to have a higher standard and good reason for doing anything.</p>
<p>I&#8217;d love to hear your thoughts on this, please leave a comment if you have something to contribute. Do you use the first or second example?</p>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/how-do-you-code-css.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Growing Pains of a Pet Project</title>
		<link>http://wirthdesign.com/growing-pains-of-a-pet-project.html</link>
		<comments>http://wirthdesign.com/growing-pains-of-a-pet-project.html#comments</comments>
		<pubDate>Sun, 24 Jan 2010 22:10:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[comics]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[redesign]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/blog/?p=98</guid>
		<description><![CDATA[Some of you may know I also run a comic blog called PissMeOffAnd.com. It's been a lot of fun so far and the greatest thing about it is that I am learning a lot in the process. One of the hardest tasks so far has been answering the question of...]]></description>
			<content:encoded><![CDATA[<p>Some of you may know I also run a comic blog called PissMeOffAnd.com. It&#8217;s been a lot of fun so far and the greatest thing about it is that I am learning a lot in the process. One of the hardest tasks so far has been answering the question of just who my target audience is. Are people over 30 going to find this funny or find it pointless? It&#8217;s too early to tell but to my partial surprise there a few people so far who are interested in these comics.</p>
<p>The site is built on a WordPress install and I modified a free theme called ComicPress to my likings. Now that I&#8217;ve had a few months to see how this is going to shape out I&#8217;ve come to the conclusion that this blog style format is really not the best solution. Since these comics are not sensitive to time I can use them out of order without it making a difference. Recycling content is going to be a key factor because those unfamiliar with the site aren&#8217;t going to dig three pages back unless they&#8217;re really seeking it out.</p>
<p>So after finding some sources of inspiration I have created a new concept which I am hoping to improve upon some of the things I have mentioned. We (The other authors and myself) have also talked about expanding the site to include videos, store front and possibly a blog. So below you can see that we have the current design (top) and the new concept design (bottom).</p>
<p><a href="http://wirthdesign.com/wp-content/uploads/2010/01/PMOA-layout-current.jpg"><img class="alignnone size-medium wp-image-99" title="PMOA-layout-current" src="http://wirthdesign.com/blog/wp-content/uploads/2010/01/PMOA-layout-current-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://wirthdesign.com/sandbox/wp-content/uploads/2010/01/PMOA-layout-2.jpg"></a></p>
<p><a href="http://wirthdesign.com/wp-content/uploads/2010/01/PMOA-layout-21.jpg"><img class="alignnone size-medium wp-image-103" title="PMOA-layout-2" src="http://wirthdesign.com/blog/wp-content/uploads/2010/01/PMOA-layout-21-300x225.jpg" alt="" width="300" height="225" /></a></p>
<h3>Header</h3>
<p>The old design is dark and doesn&#8217;t reproduce well between monitor settings, so in this new design I made improvements to the look and play of the navigation. The site will grow by two pages and I think this works well.</p>
<h3>Content Area</h3>
<p>One thing I&#8217;m not happy with in this new design is that the comics are roughly 40 pixels smaller in width. Not a huge loss but a reduction is a reduction. The content to the right of the comic is going to go through some changes as I&#8217;m not happy with it at the moment. I&#8217;ve thought about putting the comic title above everything else and running the width of the content area. I do like the new look of the highly visible social media button which will illuminate into their respective colors upon hover. The images below the main comic will be a gallery of old comics that scroll to the right.</p>
<h3>Footer</h3>
<p>The footer will be the new home of the twitter feed. Some other ideas could be to post a user submited #pissmeoffand tag line and possibly have the users vote on it they like it or and maybe award the winner with a prize. The new blog post section at the moment works for me and helps get the new content up front.</p>
<p>So in conclusion I think this new design is going perform better and improve the look of the site. If you have any comments or suggestions I would love to hear them. I also might be creating a VLog of this process because I&#8217;d really like to share more of what I am doing for others to benefit from. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/growing-pains-of-a-pet-project.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: WordPress FollowMe Plugin</title>
		<link>http://wirthdesign.com/review-wordpress-followme-plugin.html</link>
		<comments>http://wirthdesign.com/review-wordpress-followme-plugin.html#comments</comments>
		<pubDate>Tue, 19 Jan 2010 13:40:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[followme]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpburn]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/blog/?p=86</guid>
		<description><![CDATA[WP FollowMe is a plugin I stumbled upon the other day. This same function could be done easily by your average Style Sheet Samurai, but I felt it would appeal...]]></description>
			<content:encoded><![CDATA[<p><a href="http://wirthdesign.com/wp-content/uploads/2010/01/screenshot-1.png"><img class="size-medium wp-image-211 alignright" title="WordPress Follow-Me Pluggin" src="http://wirthdesign.com/wp-content/uploads/2010/01/screenshot-1-300x200.png" alt="" width="300" height="200" /></a>Name: WP FollowMe<br />
Author: WPBurn<br />
Version: 2.04</p>
<h3>Description:</h3>
<p>WP FollowMe is a wordpress plugin that allows you to add a twitter &#8220;Follow me&#8221; badge on your wordpress blog.</p>
<h3><strong>What is nice?</strong></h3>
<p>This plugin is very easy to install. Setup is as simple as going to the plugins setting and entering the path to your Twitter URL. You have a decent amount of icons to chose from though at this moment it doesn&#8217;t appear you can use your own. Changing the color is simple by using Hexadecimal code under settings. Your also give the option of size and position on the page.</p>
<h3>What is NOT so nice?</h3>
<p>I don&#8217;t agree that what you have in the end is a &#8220;badge&#8221; on your page. It&#8217;s much more a tab that is fixed to the side of the browser. A rollover effect would help to give it more user feedback. Seeing that it already uses CSS, a rollover effect would be utilized quite easily.<span id="more-86"></span></p>
<h3><strong>In conclusion</strong></h3>
<p>Because this plugin is so easy to install and setup I would suggest it to anyone with limited CSS knowledge looking to achieve this look. This author is a young freelance designer and I think this plugin will get better as they continue to develop. I installed this plugin hoping it would allow you to display your followers as well.</p>
<h3>My Rating: 2.5/5</h3>
<p>Plugin Homepage: <a href="http://wpburn.com/wordpress-plugins/wp-followme-plugin" target="_blank">http://wpburn.com/wordpress-plugins/wp-followme-plugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/review-wordpress-followme-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Tired of being the gray man?</title>
		<link>http://wirthdesign.com/tired-of-being-the-gray-man.html</link>
		<comments>http://wirthdesign.com/tired-of-being-the-gray-man.html#comments</comments>
		<pubDate>Tue, 15 Dec 2009 15:58:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[pic]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/blog/?p=76</guid>
		<description><![CDATA[I'm pretty sure I can say that at some point you have seen or even been "the gray man" when posting a comment on a blog. I've been one on my own blog (sad) and I want to share with you how you can fix this very easily. If you see this "gray man" when...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty sure I can say that at some point you have seen or even been &#8220;the gray man&#8221; when posting a comment on a blog. I&#8217;ve been one on my own blog (sad) and I want to share with you how you can fix this very easily. If you see this &#8220;gray man&#8221; when you leave someone a comment (see beow) then you don&#8217;t have an image uploaded to Gravatar.com (Instructions below)</p>
<p><img class="alignleft size-full wp-image-77" title="comment-closeup" src="http://wirthdesign.com/wp-content/uploads/2009/12/comment-closeup.jpg" alt="comment-closeup" width="590" height="305" /></p>
<p><span id="more-76"></span></p>
<p>Now you can see &#8220;Jen&#8221; has a nice personal image of herself that is associated with the email she used to leave a comment with. A well chosen image will add a bit of depth to a comment and give you more of a human element. Below is my comment I left for Jen, see the difference? My comment looks cold and generic, like the persona you would associate with spam or some other faceless brand. Below I will show you how to fix this by updating your &#8220;Gravatar&#8221;.</p>
<p><img class="alignleft size-full wp-image-79" title="comment-closeup-2" src="http://wirthdesign.com/wp-content/uploads/2009/12/comment-closeup-2.jpg" alt="comment-closeup-2" width="590" height="305" /></p>
<h2>What the heck is a Gravatar?</h2>
<p>Good question, I found myself asking the same thing. If you use online forums or certain social media sites then you may already be familiar with an Avatar. An Avatar is an image that you (most times) are allowed to chose that is associated with your account. If you use multiple login accounts for Windows XP or Leopard then you might be familiar with these and not even know it. What makes a Gravatar special is that it allows you to associate an email address with an image that is globally recognized. So no matter whose blogging website you are commenting on you will see the image you setup at Gravatar.com</p>
<h2>Steps to fix your &#8220;gray man&#8221; blues</h2>
<p>1. Go to Gravatar.com in your browser<br />
2. Sign up/Login (If your not already a WordPress user)<br />
3. Click &#8220;Get your Gravatar today&#8221;<br />
4. Use &#8220;Select an email address (below) to modify or add a new email&#8221;<br />
5. Upload your image</p>
<p>Now no matter whose website you leave a comment with, your image you uploaded will appear next to your comment (Assuming the blog has comment images enabled).</p>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/tired-of-being-the-gray-man.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tutorial: Create a Simple CSS Image Rollover</title>
		<link>http://wirthdesign.com/tutorial-create-a-simple-css-image-rollover.html</link>
		<comments>http://wirthdesign.com/tutorial-create-a-simple-css-image-rollover.html#comments</comments>
		<pubDate>Sat, 12 Sep 2009 04:50:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://wirthdesign.com/blog/?p=25</guid>
		<description><![CDATA[Create a simple image rollover using just CSS and a single image. Using a single image is a great technique for quicker load times and offers an easier way to manage your files. This tutorial is great for buttons, navigation...]]></description>
			<content:encoded><![CDATA[<p>What you need for this tutorial</p>
<ul>
<li>Image Editing Software (ie: Adobe Photoshop)</li>
<li>An average understanding your editing software</li>
<li>Notepad or other code editing software</li>
</ul>
<p>I believe this is the best way to create any type of image rollover. Other ways are to use JavaScript but I find this unnecessary because the CSS way is very straight forward and easy to do. A example of this would be my &#8220;Portfolio&#8221; button I have on the front of my website. You&#8217;ll see when you roll your mouse over the button (On the main page) changes from a shade of green to a shade of blue.</p>
<p><img class="size-full wp-image-26 alignleft" title="blog_003_site-front" src="http://wirthdesign.com/wp-content/uploads/2009/09/blog_003_site-front.jpg" alt="blog_003_site-front" width="600" height="375" /></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>Now let&#8217;s open your image editing software. I prefer to use Adobe Photoshop because it is the most common editing software available. For this tutorial I am going to be using a button I made when I designed this website.</p>
<p><img src="http://wirthdesign.com/wp-content/uploads/2009/09/bglo_003-button-1.jpg" alt="bglo_003-button-1" title="bglo_003-button-1" width="222" height="57" class="alignleft size-full wp-image-28" /></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>This image is 222 pixels wide and 57 pixels in height. With the image opened in you edit software we&#8217;re going to change the &#8220;Canvas Size&#8221;. You can find &#8220;Canvas Size&#8221; in Photoshop under &#8220;Image&#8221; in the overhead menu.</p>
<p><img src="http://wirthdesign.com/wp-content/uploads/2009/09/blog_003-canvas-size.jpg" alt="blog_003-canvas-size" title="blog_003-canvas-size" width="600" height="450" class="alignleft size-full wp-image-29" /></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>Now the way I&#8217;ve learned to do a proper CSS Image Rollover is to use 1 image for both actions (normal position and hover position). This makes the loading of the images smoother and requires 1 less image. Let&#8217;s double the height of the &#8220;Canvas&#8221; and make it 114 pixels (Original height of 57 pixels X2). Note: Make sure you select the top center box for &#8220;Anchor:&#8221; so that we are adding the extra 57 pixels of canvas BELOW our existing image.</p>
<p><img src="http://wirthdesign.com/wp-content/uploads/2009/09/blog_003-extra-canvas.jpg" alt="blog_003-extra-canvas" title="blog_003-extra-canvas" width="600" height="375" class="alignleft size-full wp-image-30" /></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>Make sure this image above looks like what your looking at. Next under &#8220;File&#8221; in the above menu you want to select &#8220;Place&#8221; and select the same image you&#8217;ve started with but place it underneath using snaps to ensure that it is exactly under neath.</p>
<p><img src="http://wirthdesign.com/wp-content/uploads/2009/09/blog_003-double-image.jpg" alt="blog_003-double-image" title="blog_003-double-image" width="600" height="375" class="alignleft size-full wp-image-31" /></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>From this point we need to alter the bottom image so that it differs from the image above. I&#8217;ve chosen to just make my button green using my original files. You can use some form of &#8220;Blending Options&#8221; to achieve a different look.</p>
<p><img src="http://wirthdesign.com/wp-content/uploads/2009/09/blog_003-final-button.jpg" alt="blog_003-final-button" title="blog_003-final-button" width="222" height="114" class="alignleft size-full wp-image-32" /></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>Save your file and put away your image editing software. Now open the page you want to add your button to in your favorite code writing software (ie: Notepad, Coda, Dreamweaver etc). Now lets go to your style sheet or inline styling section and add the few lines of code we need to make this work.</p>
<p>Ok, I&#8217;m calling this &#8220;.button_folio&#8221;, name it whatever you want just remember it so when you write your code you don&#8217;t confuse yourself. The height and width are what we want to be visible and since we are telling this to display as a block we wont see anything below 57px of the height. With the background we will be linking to our single image that we created earlier. Note that in background we have &#8220;0 -57&#8243; this very important because we&#8217;re telling the browser to start this background 57 pixels below what it normally would.</p>
<p><code>.button_folio {<br />
     width:222px;<br />
     height:57px;<br />
     display:block;<br />
     background:url(images/button_folio.gif) 0 -57px no-repeat;<br />
}</code></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>This is the final CSS that will tell the browser to move the background position to &#8220;0 0&#8243; (which is 57 pixels higher) when you &#8220;hover&#8221; your mouse over it.</p>
<p><code>.button_folio:hover {<br />
     background-position:0 0;<br />
}</code></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>Now to use this new &#8220;Class&#8221; on your page. Since this is a button and we&#8217;re using it to link to a page it only make sense to use this class on a link. Just add the code below to a link before &#8220;href&#8221; or after the URL.</p>
<p><code>class="button_folio"</code></p>
<div style="clear:both; margin-bottom:100px;"></div>
<p>Pow there you go! We made two new classes in a style sheet and called it out on the page. I believe this to be the best way to do this. I&#8217;m sure if you are a &#8220;text replacement nut&#8221; you can add text within the link instead of leaving nothing in between the tag and use a span to indent the text off the screen but I don&#8217;t really understand catering to people who don&#8217;t use style sheets.</p>
<p><a href="#" style="{width:222px: height:57px; display:block; background:url(/images/button_folio.gif) 0 -57px no-repeat;}<br />
                          :hover {background-position:0 0;}"></a></p>
<p>I hope I did a good job of explaining this, this is my first tutorial on here so any feedback would appreciated.</p>
<div style="clear:both; margin-bottom:100px;"></div>
]]></content:encoded>
			<wfw:commentRss>http://wirthdesign.com/tutorial-create-a-simple-css-image-rollover.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
