<?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>I Am Web Dude</title>
	<atom:link href="http://iamwebdude.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamwebdude.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 10 Apr 2009 14:28:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Tutorial Posted</title>
		<link>http://iamwebdude.com/2009/03/16/php-tutorial-posted/</link>
		<comments>http://iamwebdude.com/2009/03/16/php-tutorial-posted/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 06:16:57 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[I Am Web Dude]]></category>

		<guid isPermaLink="false">http://iamwebdude.com/?p=343</guid>
		<description><![CDATA[I have just posted a massive tutorial which will help you begin the process of understanding Object-Oriented Programming with PHP using MVC frameworks. This is by far the largest tutorial I have written, so if you see any spelling/grammatical errors, or have suggestions, please let my know by leaving a comment. Now go check it [...]]]></description>
			<content:encoded><![CDATA[<p>I have just posted a massive tutorial which will help you begin the process of understanding Object-Oriented Programming with PHP using MVC frameworks. This is by far the largest tutorial I have written, so if you see any spelling/grammatical errors, or have suggestions, please let my know by leaving a comment. Now go check it out!</p>
<p><a href="http://iamwebdude.com/2009/03/16/php-introduction-to-mvc-frameworks/">PHP &#8211; Introduction to MVC Frameworks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2009/03/16/php-tutorial-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; Introduction to MVC Frameworks</title>
		<link>http://iamwebdude.com/2009/03/16/php-introduction-to-mvc-frameworks/</link>
		<comments>http://iamwebdude.com/2009/03/16/php-introduction-to-mvc-frameworks/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 02:22:37 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://iamwebdude.com/?p=221</guid>
		<description><![CDATA[Introduction
Have you ever found yourself using procedural code on projects, and when it comes to modifying different elements you spend an outrageous amount of time updating code, removing code, or digging through code that overlaps other parts of your code numerous times? Yeah&#8230; procedural can be a nightmare in large websites, so this is why [...]]]></description>
			<content:encoded><![CDATA[<h3 id="toc-introduction"><!--pagetitle:Introduction-->Introduction</h3>
<p>Have you ever found yourself using procedural code on projects, and when it comes to modifying different elements you spend an outrageous amount of time updating code, removing code, or digging through code that overlaps other parts of your code numerous times? Yeah&#8230; procedural can be a nightmare in large websites, so this is why Object-Oriented Programming with PHP can save you plenty of time in this process.</p>
<p>One use of OOPPHP is using an MVC (<strong>M</strong>odel <strong>V</strong>iew <strong>C</strong>ontroller) framework to develop your applications. Of course, you can download already built MVC frameworks such as <a title="CodeIgnter" href="http://sports.espn.go.com/nfl/news/story?id=3983805">CodeIgniter</a>, <a title="CakePHP" href="http://cakephp.org/">CakePHP</a>, or the <a title="Zend Framework" href="http://www.zend.com/en/community/framework">Zend Framework</a>; but all of those can be extremely bloated if you are developing smaller applications that wont utilize everything they have to offer. Also, you may be like me, you love to reinvent the wheel to see how the wheel works; so developing your own MVC is an excellent way to help you understand the concept behind OOP.</p>
<p>This tutorial will walk you through all the initial steps to getting an MVC framework up and running. In the future, I will add additional tutorials that will show you how to implement session management, template management, etc, into this framework. For now, this will just show you the basic concept behind the framework using libraries, models, helpers, and views.<br />
Lets get our hands dirty shall we?</p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2009/03/16/php-introduction-to-mvc-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New CSS Tutorial</title>
		<link>http://iamwebdude.com/2009/03/11/new-css-tutorial/</link>
		<comments>http://iamwebdude.com/2009/03/11/new-css-tutorial/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 22:07:24 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[I Am Web Dude]]></category>

		<guid isPermaLink="false">http://iamwebdude.com/?p=219</guid>
		<description><![CDATA[Ever wonder how websites create drop menus for navigation purposes? It&#8217;s actually a lot easier than you think it is, so how about you check out the CSS &#8211; Drop Menus tutorial.
]]></description>
			<content:encoded><![CDATA[<p>Ever wonder how websites create drop menus for navigation purposes? It&#8217;s actually a lot easier than you think it is, so how about you check out the <a href="http://www.iamwebdude.com/2009/03/11/css-drop-menus/">CSS &#8211; Drop Menus</a> tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2009/03/11/new-css-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS &#8211; Drop Menus</title>
		<link>http://iamwebdude.com/2009/03/11/css-drop-menus/</link>
		<comments>http://iamwebdude.com/2009/03/11/css-drop-menus/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 22:05:20 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://iamwebdude.com/?p=208</guid>
		<description><![CDATA[Introduction
So we all like having tabs across the top of our websites, right? It keeps things organized and clutter free, but what happens when you want to add more navigation to those tabs without actually adding more tabs? Oh, that&#8217;s right, you can use drop menus to accomplish this task. This can be easily done [...]]]></description>
			<content:encoded><![CDATA[<h3 id="toc-introduction">Introduction</h3>
<p>So we all like having tabs across the top of our websites, right? It keeps things organized and clutter free, but what happens when you want to add more navigation to those tabs without actually adding more tabs? Oh, that&#8217;s right, you can use drop menus to accomplish this task. This can be easily done using just CSS, sweet huh?</p>
<h3 id="toc-requirements">Requirements</h3>
<p>Nothing is really required here, you just need to have a basic understanding of HTML and CSS.</p>
<h3 id="toc-the-process">The Process</h3>
<p><strong>Step 1</strong><br />
The first thing to do is create a list of elements that we would like to make into menus. For this, we will use un-ordered lists (<code>UL</code>). The main list element will be the tab&#8217;s name, and the child un-ordered list element will be the drop menu items.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot; /&gt;
   &lt;title&gt;CSS Drop Menu | I Am Web Dude Tutorials&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen, tv, projection&quot; href=&quot;./dropmenu.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;ul&gt;
   &lt;li&gt;
      Menu 1
      &lt;ul&gt;
         &lt;li&gt;&lt;a href=&quot;http://www.iamwebdude.com/&quot;&gt;Item 1&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;http://www.iamwebdude.com/&quot;&gt;Item 2&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;http://www.iamwebdude.com/&quot;&gt;Item 3&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;
      Menu 2
      &lt;ul&gt;
         &lt;li&gt;&lt;a href=&quot;http://www.iamwebdude.com/&quot;&gt;Item 1&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;http://www.iamwebdude.com/&quot;&gt;Item 2&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;http://www.iamwebdude.com/&quot;&gt;Item 3&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&nbsp;
&lt;p&gt;Hover over a menu above to see it's contents.&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>Here we have the basic structure of our HTML page. We have one main un-order list which contains two list elements, and each of those list elements contain a child un-ordered list. That&#8217;s all you have to do for the HTML! Easy, right?</p>
<p><strong>Step 2</strong><br />
Now we need to create the CSS to control these drop menus. The first step is to hide the child un-ordered lists, and to accomplish this we do write the following in our CSS:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">li ul <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Step 3</strong><br />
Now how do you get that menu to display when you hover over the parent list element? Simple, you just use the <code>:hover</code> pseudo-selector.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">li<span style="color: #3333ff;">:hover </span>ul <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The reason we use the property <code>display</code> with the value of <code>block</code> is to make the child un-ordered list visible, and the pseudo-selector <code>:hover</code> means to fire this CSS rule when hovering over the parent list element.</p>
<h3 id="toc-conclusion">Conclusion</h3>
<p>That&#8217;s it! Wasn&#8217;t that easy? Now play around with the CSS and you could create something like <a href="http://www.iamwebdude.com/examples/css/dropmenu/index.html">this</a>. Hope you enjoy this little trick and make use of it on future and/or current CSS projects!</p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2009/03/11/css-drop-menus/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Expect more in the future.</title>
		<link>http://iamwebdude.com/2009/03/03/expect-more-in-the-future/</link>
		<comments>http://iamwebdude.com/2009/03/03/expect-more-in-the-future/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 18:28:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[I Am Web Dude]]></category>

		<guid isPermaLink="false">http://iamwebdude.com/?p=198</guid>
		<description><![CDATA[My last post to this blog was December&#8230; For this I apologize. Between work, snowboarding, and friends I&#8217;ve been swamped and have had little to no time to contribute to this site&#8217;s content. This is going to change, I promise you that. Over the next few months I plan to start releasing more tutorials that will [...]]]></description>
			<content:encoded><![CDATA[<p>My last post to this blog was December&#8230; For this I apologize. Between work, snowboarding, and friends I&#8217;ve been swamped and have had little to no time to contribute to this site&#8217;s content. This is going to change, I promise you that. Over the next few months I plan to start releasing more tutorials that will help user&#8217;s entering the web development world to understand what they need to do. For those of you who are already seasoned enough, I plan to release a couple tutorials that may benefit you as well.</p>
<p>I&#8217;m also asking that if anyone knows of anything they&#8217;d like to see here, please let me know your thoughts. Sometimes it&#8217;s hard to write tutorials because you are blindly writing something without any idea if it&#8217;s going to actually benefit your user-base. So you, the reader, what do you want to see in the way of tutorials? What have you been struggling with? What kind of references would you like to have? Let&#8217;s hear it!</p>
<p><small><em><b>*Update:</b> New jQuery tutorial will be up by this evening. &#8211; March 11, 2009 @ 10:07am</em></small></p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2009/03/03/expect-more-in-the-future/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Upgraded to WordPress 2.7</title>
		<link>http://iamwebdude.com/2008/12/14/upgraded-to-wordpress-27/</link>
		<comments>http://iamwebdude.com/2008/12/14/upgraded-to-wordpress-27/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 06:23:39 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[I Am Web Dude]]></category>

		<guid isPermaLink="false">http://www.iamwebdude.com/?p=194</guid>
		<description><![CDATA[Systems have been upgraded to WordPress 2.7. Everything is stable, plugins are working, all is good. Also please note that I have tweaked some visual display bugs that were being encountered when viewing category listings when a post contained AJAX elements.
*Edit: A small error was encountered with jQuery displaying on pages themeselves. This was due [...]]]></description>
			<content:encoded><![CDATA[<p>Systems have been upgraded to WordPress 2.7. Everything is stable, plugins are working, all is good. Also please note that I have tweaked some visual display bugs that were being encountered when viewing category listings when a post contained AJAX elements.</p>
<p><strong>*Edit:</strong> A small error was encountered with jQuery displaying on pages themeselves. This was due to the $ caller causing errors with the mix of scriptaculous. Switching $ to jQuery fixed this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2008/12/14/upgraded-to-wordpress-27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS &#8211; Rounded Corners</title>
		<link>http://iamwebdude.com/2008/11/26/css-rounded-corners/</link>
		<comments>http://iamwebdude.com/2008/11/26/css-rounded-corners/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 19:40:51 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.iamwebdude.com/?p=169</guid>
		<description><![CDATA[Introduction
I have been asked countless times how I make my rounded corners when working with HTML and CSS. My method is actually very easy to work with and can be used everywhere. This method is extremely useful when you have content that is always different sizes. This is because this method puts each corner in [...]]]></description>
			<content:encoded><![CDATA[<h4 id="toc-introduction">Introduction</h4>
<p>I have been asked countless times how I make my rounded corners when working with HTML and CSS. My method is actually very easy to work with and can be used everywhere. This method is extremely useful when you have content that is always different sizes. This is because this method puts each corner in elements that can expand with your content. Here is what you need to utilize this method:</p>
<ul>
<li>Image editing utility such as Photoshop, GIMP, etc.</li>
<li>Text Editor to edit your HTML and CSS.</li>
</ul>
<p><small><strong>*Note:</strong> Updated on April 7, 2009. IE6 had an issue with the previous method described in the tutorial. It has been updated so IE6 will now render correctly.</p>
<h4 id="toc-how-to-make-rounded-corners">How to Make Rounded Corners</h4>
<p><strong>Step 1</strong><br />
Open your image editing software, for this example I&#8217;ll be using Photoshop. Once you have your editor open create a canvas that is 5 pixel by 20 pixels. Why this size you ask? Well this is for corners that have a 5 pixel radius. You can use any size radius you want, such as a 10 pixel radius corner would have a canvas size of 10 pixels by 40 pixels. This is because the image is divided into four sections. The top section is the top-left corner, then the top-right corner, then the bottom-left corner, and finally the bottom-right corner.</p>
<p>In your canvas, create an image like the following. The easiest way is to take a circle that is 10 pixels by 10 pixels, fill it with the color of your choice, and then cut 1/4 of the circle off. Copy this piece three times so you have four separate parts. Next you will want to rotate each piece until it looks like the following:</p>
<p style="text-align: center;"><a href="http://www.iamwebdude.com/wp-content/uploads/2008/11/step11.jpg"><img class="size-full wp-image-173 aligncenter" title="step1" src="http://www.iamwebdude.com/wp-content/uploads/2008/11/step11.jpg" alt="CSS - Rounded Corners: Step 1" width="100" height="60" /></a></p>
<p>Once you&#8217;re done, save this image as <strong>corners.gif</strong> for later use.</p>
<p><strong>Step 2</strong><br />
Now you should have a slight understanding of how the image for this tutorial is supposed to be laid out. It is essential that you lay the image out in the order described in <em>step 1</em> for this tutorial to properly work.</p>
<p>Now how do we take this image and make a nice little box out of it? It&#8217;s actually very simple, we are going to use a method known as Image Sliding, which you may be familiar with if you use CSS to make buttons that have hover and/or active states.</p>
<p>Remember that everything on an image is based on an X and Y axis, and point 0,0 is the top left part of your image. To move an image left 50 pixels and down 20 pixels you would do the following:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-50px</span> <span style="color: #933;">-20px</span><span style="color: #00AA00;">;</span></pre></td></tr></table></div>

<p><em>*Note:</em> An easy way to remember this is to know that when you need to move an object left or down you use negative pixel values, and to move an object up or right you use positive pixel values.</p>
<p><strong>Step 3</strong><br />
Now how do you move this image around to display rounded corners on our content box? It&#8217;s very easy, but first I need to show you the HTML of our box. Without the HTML you CSS is useless.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
&lt;head&gt;
   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
   &lt;title&gt;CSS - Rounded Corners (By I Am Web Dude)&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen, tv, projection&quot; href=&quot;roundcorners.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;!-- Our Content Box ---&gt;
&lt;div class=&quot;box&quot;&gt;
   &lt;!-- Top Corners --&gt;
   &lt;div class=&quot;t&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;
&nbsp;
   &lt;!-- Your box's content goes here. --&gt;
   &lt;div class=&quot;body&quot;&gt;Some random text for this to work.&lt;/div&gt;
&nbsp;
   &lt;!-- Bottom Corners --&gt;
   &lt;div class=&quot;b&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>See, doesn&#8217;t that look simple? You have yourself clean looking source code, while having a cross-browser rounded corner box.</p>
<p><strong>Step 4</strong><br />
Now lets get into the CSS that makes this baby work. Create a file called roundcorners.css and save it in the same directory as your HTML file. Inside of this CSS file you will want to use the following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.box</span> <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.body</span> <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> 0 <span style="color: #933;">5px</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.t</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.t</span> div<span style="color: #00AA00;">,</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.b</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.b</span> div <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'corners.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.t</span> div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span> <span style="color: #933;">-5px</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.b</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> 0 <span style="color: #933;">-10px</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.b</span> div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span> <span style="color: #933;">-15px</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Now that may look confusing if you have no idea what the CSS <code>background-position</code> attribute does, but it&#8217;s quite simple. Let me explain it for you.</p>
<p>The first part of the CSS is defining the style elements for our box. In this example our box will have a black background, and this background needs to be the same color as the color you made your corners.</p>
<p>The next part defines our &lt;div&gt; tag styles. Each tag that has a class of <code>t</code> or <code>b</code> inside of the <code>box</code> class, and then any <code>&lt;div&gt;</code> inside of those two classes will have a background image that is the <code>corners.gif</code>. Also, these elements will always be 5 pixels tall, which is defined by the <code>display: block; height: 5px</code>.</p>
<p>Now this is where the magic happens. We need to slide our background image around to display the corners correctly. The first element, the top left corner, will also be at position 0,0 so we don&#8217;t need to define any CSS for it.</p>
<p>The next element, the top right corner, needs to be told to position itself to the far right of our box. To accomplish this we add <code>.box .t div { background-position: 100% -5px }</code> to the CSS. The 100% tells the CSS to push the image all the way to the right, and the -5px tells the CSS to start reading the image at 0,-5px.</p>
<p>Next we need to define the bottom left corner, so we add <code>.box .b { background-position: 0 -10px }</code>. Here we need to keep the image to the far left, so we leave the X value set to 0. We need the CSS to read the image from 0,-10 so the Y value is set to -10px.</p>
<p>Finally we need to set the bottom right corner, so we add <code>.box .b div { background-position: 100% -15px }</code>. This is just like the top right corner except we need the CSS to read the image from 0,-15 so the Y value is set to -15px.</p>
<h4 id="toc-closing">Closing</h4>
<p><div class="diggbutton"><script type="text/javascript">digg_url = 'http://digg.com/programming/Tutorial_CSS_Rounded_Corners';</script><script type="text/javascript" src="http://digg.com/api/diggthis.js"></script></div>There you have it, CSS rounded corners using one image. If you want to you can get tricky and save a bunch of corners to one CSS file and use the CSS sliding method to define corner positions for elements all over your website. This would be beneficial to load times as the end-user would only be required to download one image and not twenty different images.</p>
<p>To view an example of this tutorial in action please <a href="http://iamwebdude.com/examples/css-round-corners/">click here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2008/11/26/css-rounded-corners/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>jQuery AJAX Plugin Posted</title>
		<link>http://iamwebdude.com/2008/10/09/jquery-ajax-plugin-posted/</link>
		<comments>http://iamwebdude.com/2008/10/09/jquery-ajax-plugin-posted/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 18:01:07 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[I Am Web Dude]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.iamwebdude.com/?p=156</guid>
		<description><![CDATA[I started playing around with jQuery last week and, rather quickly, found out how powerful this framework really is. So I was inspired to write my own custom AJAX plugin for the framework to handle my AJAX calls with extremely easy implementation. After finishing the plugin, I also realized that it was time to organized [...]]]></description>
			<content:encoded><![CDATA[<p>I started playing around with jQuery last week and, rather quickly, found out how powerful this framework really is. So I was inspired to write my own custom AJAX plugin for the framework to handle my AJAX calls with extremely easy implementation. After finishing the plugin, I also realized that it was time to organized the Resources layout as well.</p>
<p>No longer will you have to look at one extremely long post to figure out what is what. I have implemented some jQuery functionality into these pages to organize each post into tabbed sections. So finding what you want will be a matter of just looking at the tabs and clicking the right one.</p>
<p>So how about you go <a href="http://www.iamwebdude.com/2008/10/09/wdvalidate-jquery-plugin/">download</a> my new fancy plugin now? <img src='http://iamwebdude.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Edit:</strong> WD Category Listing has been updated to v1.0.1. Please read <a href="http://www.iamwebdude.com/2008/09/30/wd-category-listing/#release-notes">release notes</a> to view the changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2008/10/09/jquery-ajax-plugin-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WDValidate &#8211; jQuery Plugin</title>
		<link>http://iamwebdude.com/2008/10/09/wdvalidate-jquery-plugin/</link>
		<comments>http://iamwebdude.com/2008/10/09/wdvalidate-jquery-plugin/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 16:33:15 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[jQuery Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.iamwebdude.com/?p=122</guid>
		<description><![CDATA[

Summary
Download
Installation
Release Notes
Demo

digg_url = 'http://digg.com/software/jQuery_AJAX_Plugin';jQuery is an excellent JavaScript framework that can be used to accomplish many different tasks. One of those tasks would be easy AJAX functionality. WDValidate is a plugin that can be added onto the jQuery framework to allow you to easily tie form elements to a back-end script for AJAX processing.
Below are [...]]]></description>
			<content:encoded><![CDATA[<div id="rotate">
<ul>
<li><a href="#summary"><span>Summary</span></a></li>
<li><a href="#download"><span>Download</span></a></li>
<li><a href="#installation"><span>Installation</span></a></li>
<li><a href="#release-notes"><span>Release Notes</span></a></li>
<li><a href="#demo"><span>Demo</span></a></li>
</ul>
<div id="summary"><div class="diggbutton"><script type="text/javascript">digg_url = 'http://digg.com/software/jQuery_AJAX_Plugin';</script><script type="text/javascript" src="http://digg.com/api/diggthis.js"></script></div>jQuery is an excellent JavaScript framework that can be used to accomplish many different tasks. One of those tasks would be easy AJAX functionality. WDValidate is a plugin that can be added onto the jQuery framework to allow you to easily tie form elements to a back-end script for AJAX processing.</div>
<div id="download">Below are two different versions of the file that you can download. One is the production version, which is a packed version of the code; this is ideal for your live website. The other version is the developer version, which is unpacked and will allow you to easily modify the code if needed.</p>
<p><strong>Production:</strong> Download (735 bytes)<br />
<strong>Development:</strong> Download (1.40 KB)</div>
<p><em>*Downloads have been disabled for the time being, sorry for any inconvenience this may have caused.</em></p>
<div id="installation">
<ol>
<li>Download this plugin, as well as a <a href="http://docs.jquery.com/Downloading_jQuery">jQuery</a> version of your choice.</li>
<li>Upload the files to your server.</li>
<li>Place the following code in between the  and  tags.
<div style="margin:10px 0 -10px 0">

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;script src=&quot;http://www.yourdomain.com/jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:0--&gt;&lt;/script&gt;
&lt;script src=&quot;http://www.yourdomain.com/jquery.wdvalidate.js&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:1--&gt;&lt;/script&gt;</pre></div></div>

</div>
</li>
<li>That&#8217;s it, you&#8217;re ready to roll!</li>
</ol>
</div>
<div id="release-notes"><strong>Release Notes</strong><br />
If there are any revisions to this plugin, here is where you will find the list of changes.</p>
<div class="release-notes-wrapper">
<div class="release-notes">
<div class="version">Version <span>1.0</span></div>
<ul>
<li>Initial Release</li>
</ul>
</div>
</div>
</div>
<div id="demo">So you want to see this plugin in action before downloading it? That wont be a problem at all, click here** to view the live demo.</p>
<p><em><strong>*Note:</strong> Version 1.0 only supports the onBlur() and onKeyUp() methods. More methods will be implemented in the future!</em><br />
<em>**Preview link has been disabled for the time being. Sorry for any inconvenience this may have caused.</em></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2008/10/09/wdvalidate-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Chrome is Iran!?</title>
		<link>http://iamwebdude.com/2008/10/08/google-chrome-is-iran/</link>
		<comments>http://iamwebdude.com/2008/10/08/google-chrome-is-iran/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 16:46:37 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Google Chrome]]></category>

		<guid isPermaLink="false">http://www.iamwebdude.com/?p=125</guid>
		<description><![CDATA[I was just sitting in a deviantART chat room this morning when we started discussing browsers. Out of the blue cjgraphix chimed in with the following:
&#60;cjgraphix&#62; officially the w3c sets &#8217;standards&#8217; but nobody has to follow them at all.
&#60;cjgraphix&#62; which is what originally caused the browser wars of the 90&#8217;s&#8230;
&#60;cjgraphix&#62; chrome is like the damn [...]]]></description>
			<content:encoded><![CDATA[<p>I was just sitting in a deviantART chat room this morning when we started discussing browsers. Out of the blue <a href="http://cjgraphix.deviantart.com/">cjgraphix</a> chimed in with the following:</p>
<blockquote><p><strong>&lt;cjgraphix&gt;</strong> officially the w3c sets &#8217;standards&#8217; but nobody has to follow them at all.<br />
<strong>&lt;cjgraphix&gt;</strong> which is what originally caused the browser wars of the 90&#8217;s&#8230;<br />
<strong>&lt;cjgraphix&gt;</strong> chrome is like the damn Iran of browsers right now&#8230;. if they get nuclear weapons everyone in the region is fucked.<br />
<strong>&lt;philo23&gt;</strong> lol<br />
<strong>&lt;philo23&gt;</strong> i think of IE as more of an Iran than Chrome<br />
<strong>&lt;One3Creations&gt;</strong> :lmao:<br />
<strong>&lt;Skyrail&gt;</strong> :slow: I&#8217;m not going to comment on that<br />
<strong>&lt;philo23&gt;</strong> <img src='http://iamwebdude.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
<strong>&lt;cjgraphix&gt;</strong> no, IE is Isreal&#8230;</p></blockquote>
<p>I about fell out of my chair laughing so I figured I&#8217;d post this here in the humor section for everyone to read <img src='http://iamwebdude.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong><em>Disclaimer</em></strong><em>: Opinions of others do not reflect my opinions!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://iamwebdude.com/2008/10/08/google-chrome-is-iran/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.566 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2009-07-04 03:22:46 -->
