<?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>FunkyTower &#187; Bar</title>
	<atom:link href="http://www.davidcrandall.com/tag/bar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidcrandall.com</link>
	<description>A great source for tech news, tech help, tech info, and quality web design solutions</description>
	<lastBuildDate>Tue, 18 Aug 2009 08:38:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How To Make Rollover Buttons Using CSS</title>
		<link>http://www.davidcrandall.com/2008/08/13/how-to-make-rollover-buttons-using-css/</link>
		<comments>http://www.davidcrandall.com/2008/08/13/how-to-make-rollover-buttons-using-css/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 08:22:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Bar]]></category>
		<category><![CDATA[Buttons]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Cursor]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[Hover]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Mouse]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[Roll]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.funkytower.com/?p=342</guid>
		<description><![CDATA[Have you ever wanted to make fancey buttons that do stuff when you put your mouse over it, but don&#8217;t want to mess too much with javascript, and you just can&#8217;t afford flash?  Well, there&#8217;s an easier way to do it and it&#8217;s called CSS.  You may have noticed other articles pertaining to CSS here at [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to make fancey buttons that do stuff when you put your mouse over it, but don&#8217;t want to mess too much with javascript, and you just can&#8217;t afford flash?  Well, there&#8217;s an easier way to do it and it&#8217;s called CSS.  You may have noticed other articles pertaining to CSS here at FunkyTower, and if you&#8217;ve read them, you&#8217;ve realized how easy it is to use CSS.  All it takes is a little push into getting started.  So if you want to make fancy buttons for a navigation bar, well here&#8217;s the tutorial:</p>
<p><span id="more-342"></span>Woah hold on now, for this tutorial, you have to see it for yourself.  So, I&#8217;ve gone ahead and made a small navigation bar that you can download and observe for yourself.  Click this link to download it: <a href="http://www.funkytower.com/wp-content/uploads/buttons.zip">buttons.zip</a></p>
<p>Once you&#8217;ve saved it and extracted the files, we can get started!</p>
<p><strong>Step 1:  Creating the buttons:</strong></p>
<p>As you can see inside the folder, we have 2 images:</p>
<p><img class="alignnone size-full wp-image-344" title="1.jpg" src="http://www.funkytower.com/wp-content/uploads/1.jpg" alt="" width="100" height="34" /><br />
1.jpg</p>
<p><img class="alignnone size-full wp-image-345" title="2" src="http://www.funkytower.com/wp-content/uploads/2.jpg" alt="" width="100" height="34" /><br />
2.jpg</p>
<p>1.jpg is going to be the button&#8217;s original appearance; 2.jpg is what you will see when the mouse cursor is hovering over the button.  Note that there is no text: the reason is that we will use text in our HTML document and modify it with our CSS document.</p>
<p>In order to create buttons, start by creating one image that you think would look best as a button.  Save the image as &#8220;1.jpg&#8221;  Then, modify it to how you want it to look when the mouse cursor is hovering over the button, then save it as &#8220;2.jpg&#8221;  It is important that the overall image size does not change when saved.  Both of these images are 100 pixels wide and 34 pixels in height.  We must know the size of our images as it becomes greatly important in the overall product of our buttons.</p>
<p>So now we have 2 button images saved in one directory</p>
<p><strong>Step 2:  Creating the HTML Document:</strong></p>
<p>This step is easy.  Create a n HTML document with a link, and save it to the same directory as the button images, and name it &#8220;navbar.html&#8221; for now.  That&#8217;s it.  In this case, I wanted to show you how a navigation bar might look using the button &#8211; so I made a table of one row and 5 collumns with no size defined in the HTML, and put one link inside each column.  The reason I didn&#8217;t define a size in the HTML is because we will define the size in our CSS.</p>
<p>The HTML code you should have in the navbar.html file, that came with the <a href="http://www.funkytower.com/wp-content/uploads/buttons.zip">buttons.zip</a> file that you downloaded, should look like this:</p>
<blockquote><p><em>&lt;html&gt;<br />
&lt;title&gt;Navigation Bar with Buttons Example!&lt;/title&gt;<br />
&lt;link href=&#8221;style.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221;&gt;<br />
&lt;/head&gt;</em></p>
<p><em>&lt;body&gt;<br />
&lt;table border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243;&gt;<br />
  &lt;tr&gt;<br />
    &lt;td class=&#8221;nav&#8221;&gt;&lt;a href=&#8221;navbar.html&#8221; class=&#8221;nav&#8221; &gt;Page 1&lt;/a&gt;&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221;&gt;&lt;a href=&#8221;link.html&#8221; class=&#8221;nav&#8221;&gt;Page 2&lt;/a&gt;&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221;&gt;&lt;a href=&#8221;link.html&#8221; class=&#8221;nav&#8221;&gt;Page 3&lt;/a&gt;&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221;&gt;&lt;a href=&#8221;link.html&#8221; class=&#8221;nav&#8221;&gt;Page 4&lt;/a&gt;&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221;&gt;&lt;a href=&#8221;link.html&#8221; class=&#8221;nav&#8221;&gt;Page 5&lt;/a&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</em></p></blockquote>
<p>There are a few things to note in this code that you must do to your OWN code, if you are making your own HTML document.</p>
<ol>
<li>The &lt;td&gt; tags class is &#8220;nav&#8221;:  This will be the name of the class we will be editing in our CSS document to modify the table cells.</li>
<li>The &lt;a&gt; tags class is &#8220;nav&#8221; as well, to apply the button and edit the text.</li>
<li>We are linking to an external CSS file, hence the &lt;link href=&#8221;style.css&#8221;&#8230;.&gt; tag.  Using external stylesheet(s) should become a common practise for you, if it isn&#8217;t already.  Be sure that if you are making your own HTML document and CSS document from scratch that the &#8220;style.css&#8221; corresponds to a local stylesheet called &#8220;style.css&#8221; just like in the <a href="http://www.funkytower.com/wp-content/uploads/buttons.zip">buttons.zip</a> file that you can download.</li>
</ol>
<p>Just in case you don&#8217;t know by now, &#8220;class&#8221; is like a name that can be identified on different things.  The CSS document will have these names in it, and &#8220;class&#8221; calls the names to function in the HTML document.</p>
<p><strong>Step 3:  Creating Our CSS document:</strong></p>
<p>Using notepad, type in your CSS code. <br />
If you&#8217;re following along with the <a href="http://www.funkytower.com/wp-content/uploads/buttons.zip">buttons.zip</a> file, here is our CSS Code in our CSS document:</p>
<blockquote><p><em>a.nav {<br />
 font-family: Helvetica, Arial, sans-serif;<br />
 color: #FFFFFF;<br />
 text-align: center;<br />
 background-image: url(1.jpg);<br />
 background-repeat: no-repeat;<br />
 background-position: center top;<br />
 height: 34px;<br />
 width: 100px;<br />
 font-size: 16px;<br />
 padding-top: 7px;<br />
 text-decoration: none;<br />
 display: table;<br />
}</em></p>
<p><em>a.nav:hover  {<br />
 background-image: url(2.jpg);<br />
 background-repeat: no-repeat;<br />
 background-position: center top;<br />
}</em></p>
<p><em>td.nav {<br />
 height: 34px;<br />
 width: 100px;<br />
}</em></p></blockquote>
<p>Let&#8217;s break this down.</p>
<p>FIRST SECTION: &#8220;a.nav&#8221;<br />
The main properties of the button</p>
<ol>
<li>font-family:  this will be the font you choose for your text.</li>
<li>color:  this is the color used for your text only</li>
<li>text-align: this is the horizontal alignment for your text; it can be left, right, center, or justify.</li>
<li>background-image:  the url of the button we want to appear when you first load the page.</li>
<li>background-repeat: leave this property as &#8220;no-repeat.&#8221;  If you change it, the picture could repeat itself, destroying the whole design of your button.</li>
<li>background position: leave this as it is too, this will center your image and align it to the top of the table cell, leaving it looking nice and clean.</li>
<li>height AND width: these properties MUST match the size of the button images!!!</li>
<li>font-size:  however big or small you want your font; it is best you choose a font that will leave the text fitting inside the button.</li>
<li>padding-top:  this is the ammount of space from the top of the table cell in which your text will appear.  In this case it is being used to put the text right in the middle of the button.</li>
<li>text-decoration:  change this to whatever you want.  I chose &#8220;none&#8221; so that there wouldn&#8217;t be an underline when we first see the button.  I personally find the underlines, typically, to be tacky.</li>
<li>display: I chose &#8220;table&#8221; because this causes the background to be displayed throughout the entire table cell.</li>
</ol>
<p>SECOND SECTION: &#8220;a.nav:hover&#8221;<br />
This is what we want the button to do when we put our mouse cursor on top of the button.  Because we&#8217;re only working with the button, I changed only the properties of the button image.  You can change the properties of the text, too, if you&#8217;d like.</p>
<ol>
<li>background-image:  the url of the button image we want to appear when we put our mouse cursor over the button.</li>
<li>background-repeat:  same as above</li>
<li>background-position: same as above</li>
</ol>
<p>THIRD SECTION: &#8220;td.nav&#8221;<br />
The properties of the table cell &#8211; we only need to adjust the table cells size.  This is really only needed if you put the button inside a table cell to use as a navigation bar.  If you&#8217;re not making a navigation bar or putting your link/button in a table cell, you can skip this section.</p>
<ol>
<li>height:  This is the table cell&#8217;s height which MUST match the height of our button images.</li>
<li>width:  This is the table cell&#8217;s width which MUST match the width of our button images.</li>
</ol>
<p>These are ALL the properties we need to complete our CSS document for our button.  Save this CSS document as &#8220;style.css&#8221;  As mentioned before, we are linking to a separate stylesheet called &#8220;style.css&#8221; and this will be that stylesheet.  Save your stylesheet to the same folder/directory as your button images and HTML document.</p>
<p><strong>Step Three:  Testing</strong></p>
<p>Now, if you&#8217;ve followed along properly, you should have 2 button images, an HTML document with one or more links, a CSS document covering the specs of our button, the specs of our button when we hover our mouse cursor over it, and (if you&#8217;ve chosen to make a navigation bar using a table with table cells) specs on the navigation bar&#8217;s table cells.</p>
<p>If so, open up your HTML document (navbar.html) and see how it looks.  If you coded the CSS and HTML properly, then it should look just right!  If your button doesn&#8217;t look right, make sure you defined the size of your images in the CSS documents properly &#8211; and that they are the same.</p>
<p>If your button doesn&#8217;t work, double check to make sure you identified the classes properly in the HTML document, and that the images&#8217; URLs are correct in your CSS document.</p>
<p><strong>Extra Tips:</strong></p>
<p>If you want to change the font-color, font-weight, and text-decoration during your hover effects, be sure you define the way you want your text to look using these properties in <strong>both</strong> &#8220;a.nav&#8221; and &#8220;a.nav:hover&#8221;  If you don&#8217;t, you could confuse some browsers and your button won&#8217;t work properly.</p>
<p>If you want to use crazy text font, instead of a common text font &#8211; apply that font to your button images, NOT the HTML document.  When you do your HTML document, simply type a space for a link, like so:</p>
<blockquote><p>&lt;a href=&#8221;link.html&#8221;&gt; &lt;/a&gt;</p></blockquote>
<p>In doing this, you won&#8217;t have to worry about any text properties in your CSS document.</p>
<p>If you are copying and pasting code from this page into notepad, this could sometimes cause a negative effect: the best thing to do is download the <a href="http://www.funkytower.com/wp-content/uploads/buttons.zip">buttons.zip</a> file and work with that.  It is always best so hand-type the code.  If you use dreamweaver, use &#8220;auto-html&#8221; features, or hand type the code.  This ALWAYS works best.</p>
<p> </p>
<p>That&#8217;s it!!!  Now you have a functioning button and/or navigation bar with a rollover image effect!  Pretty neat, don&#8217;t you think?  AND it was easy!!!</p>
<p> </p>
<p><strong>What Do You Think?<br />
</strong>Was making a roll-over image type button with CSS easy?  Did you try this out and couldn&#8217;t get it to work?  Did you use this method on your website?  If you did, I wanna see it!  Let me know if you have any questions or comments about this tutorial, and I&#8217;ll be happy to get back to you!  Send me an e-mail at <a href="mailto:david@funkytower.com">david@funkytower.com</a>,  or leave a comment below!  <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> </p>
<p>Take it easy,<br />
David Crandall</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidcrandall.com/2008/08/13/how-to-make-rollover-buttons-using-css/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Making a navigation bar in CSS</title>
		<link>http://www.davidcrandall.com/2008/08/12/making-a-navigation-bar-in-css/</link>
		<comments>http://www.davidcrandall.com/2008/08/12/making-a-navigation-bar-in-css/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 02:25:06 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Bar]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.funkytower.com/?p=334</guid>
		<description><![CDATA[CSS is such a useful tool in designing your website and adding some functionality to it.  One of the things that turns most &#8220;beginner web designers&#8221; on to CSS is the ability to customize the color of links.  This is great to avoid having unwanted underlines and the ugly blue default link color.  Well did you [...]]]></description>
			<content:encoded><![CDATA[<p>CSS is such a useful tool in designing your website and adding some functionality to it.  One of the things that turns most &#8220;beginner web designers&#8221; on to CSS is the ability to customize the color of links.  This is great to avoid having unwanted underlines and the ugly blue default link color.  Well did you know you can create a very versitile navigation bar using CSS?  It&#8217;s really quite easy: instead of applying effects to a piece of text &#8211; apply effects to a table cell!  In this tutorial you will learn effects regaurding: hovering cell background effects, text effects, button effects, and more!</p>
<p><span id="more-334"></span></p>
<p><strong>Step 1 &#8211; Creating the table:</strong></p>
<p>The first thing we need to do is set up our table.  I&#8217;ll make it easy for you and create a verticle, 5 collumn table.  You can customize this table any way you&#8217;d like.  You can convert it to 5 rows instead of five collumns if you prefer having a side bar.</p>
<p>Open up Notepad or a text editing decoder similar to notepad and create a basic HTML document with a table like so:</p>
<blockquote><p><em>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Your Website Title&lt;/title&gt;<br />
&lt;/head&gt;</em></p>
<p><em>&lt;body&gt;<br />
&lt;table width=&#8221;400&#8243; border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243;&gt;<br />
  &lt;tr&gt;<br />
    &lt;td&gt;Page 1&lt;/td&gt;<br />
    &lt;td&gt;Page 2&lt;/td&gt;<br />
    &lt;td&gt;Page 3&lt;/td&gt;<br />
    &lt;td&gt;Page 4&lt;/td&gt;<br />
    &lt;td&gt;Page 5&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</em></p></blockquote>
<p>Again, you can modify this table in any way you need to.  The only thing I suggest NOT modifying is the font, alignment, or size of the text &#8211; and do not be quick to add links to your navigation bar.  We&#8217;ll cover this in the next step.</p>
<p>But first, be sure that you&#8217;ve saved your work.  For now, save this document as &#8220;navigationbar.html&#8221; and continue saving your work after each step &#8211; just to be safe <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Step 2 &#8211; Making our links</strong></p>
<p>Instead of using the common &lt;a href=&#8221;http://yourwebsiteurl.com&#8221;&gt; tag, we&#8217;re going to go a different route.  Because we want the entire cell to act as a button or link, we need to modify the entire cell, not the text within it.  To do this, we&#8217;ll add a function called &#8220;onClick&#8221; inside each &lt;td&gt; tag.</p>
<p>To do this and find each &lt;td&gt; tag and add this function: onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;</p>
<p>Now all your &lt;td&gt; tags should look like this:</p>
<blockquote><p><em>    &lt;td onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 1&lt;/td&gt;<br />
    &lt;td onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 2&lt;/td&gt;<br />
    &lt;td onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 3&lt;/td&gt;<br />
    &lt;td onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 4&lt;/td&gt;<br />
    &lt;td onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 5&lt;/td&gt;</em></p></blockquote>
<p>Change the URL to whatever you&#8217;d like it to be so that it fits the purpose of your navigation bar.</p>
<p><strong>Step 3 &#8211; CSS Properties for each button</strong></p>
<p>Now that we have a dull navigation bar with no style or beauty to it, let&#8217;s work on our CSS.  Let&#8217;s first start by making our navigation bar look just how we want it.  Paste this code somewhere between the &lt;head&gt; and &lt;/head&gt; tags:</p>
<blockquote><p><em>&lt;style type=&#8221;text/css&#8221;&gt;<br />
.nav {<br />
 background-color:#990000;<br />
 font-family: Arial, Helvetica, sans-serif;<br />
 color: #FFFFFF;<br />
 text-align: center;<br />
 cursor: pointer;<br />
}<br />
&lt;/style&gt;</em></p></blockquote>
<p>Let&#8217;s break this down:</p>
<ol>
<li><em>.nav &#8211; </em>This is the name of the class we will use.  Change it to anything you want like &#8220;.navbar&#8221; or &#8220;.thebar&#8221; or &#8220;.thethingie&#8221;&#8230;what ever you want <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li><em>background-color &#8211; </em>This, obviously, will be the background color of our cell.  Change the color to whatever you&#8217;d like!</li>
<li><em>font-family &#8211; </em>This is your basic font for your text.  There are different font-families you can use.  Here are some common ones<em>1.  Verdana, Tahoma, Arial, Helvetica, sans-serif<br />
2.  Georgia, Times New Roman, Times, serif<br />
3.  Geneva, Arial, Helvetica, sans-serif<br />
4.  Arial, Verdana, Helvetica, sans-serif<br />
5.  Courier New, Courier, Verdana, sans-serif</em>Now, you can go online and find more fonts families, but these here are the most common &#8211; so if I were you, I&#8217;d stick to one of these. </li>
<li><em>color &#8211; </em>Simply put: the color of the text.  Again, this can be anything you want.</li>
<li><em>text-align &#8211; </em>The alignment of the text.  Chose left, right, center, or justify.</li>
<li><em>cursor &#8211; </em>This is what the cursor becomes when it is within the table cell.  The &#8220;cursor: pointer;&#8221; property will help indicate that the cell is, in fact, a link to another webpage by showing <img class="alignnone size-thumbnail wp-image-337" title="pointer" src="http://www.funkytower.com/wp-content/uploads/ie-hand.gif" alt="" width="40" height="40" />And it also will keep your cursor from turning into <img class="alignnone size-medium wp-image-336" title="text" src="http://www.funkytower.com/wp-content/uploads/auto.gif" alt="" width="40" height="40" />when hovering over the text in your navigation bar.</li>
</ol>
<p>So now that we understand the basic properties of our CSS code, it&#8217;s time to add some effect to our navigation bar!</p>
<p><strong>Step 4 &#8211; Adding Effect:</strong></p>
<p>To do add a hover effect to your navigation bar, add the following code to your CSS style:</p>
<blockquote><p><em>.nav:hover {<br />
</em><em>background-color: #CC0000;<br />
} </em></p></blockquote>
<p>&#8220;.nav:hover&#8221; indicates that we&#8217;re using the same properties as &#8220;.nav&#8221; except for the following properties (i.e, these are the properties that will change when we hover our mouse over the table cells in our navigation bar)</p>
<p>Note that the only property I&#8217;ve put here was the background color.  You can use/change whatever property you&#8217;d like such as &#8221;color&#8221; for text - just ommit the &#8220;cursor&#8221; property, as it won&#8217;t matter since we covered that in the previous CSS properties.</p>
<p><strong>Step 5 &#8211; Implimenting the CSS to the Navigation Bar</strong></p>
<p>This step is probably the easiest step.  Simply add <em>class=&#8221;nav&#8221;</em> within your &lt;td&gt; tags.  Now your ENTIRE HTML document should look something like this:</p>
<blockquote><p><em>&lt;html&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
.nav {<br />
 background-color:#990000;<br />
 font-family: Helvetica, Arial, sans-serif;<br />
 color: #FFFFFF;<br />
 text-align: center;<br />
 cursor: pointer;<br />
}<br />
.nav:hover { background-color:#CC0000; }<br />
&lt;/style&gt;<br />
&lt;/head&gt;</em></p>
<p><em>&lt;body&gt;<br />
&lt;table width=&#8221;400&#8243; border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243;&gt;<br />
  &lt;tr&gt;<br />
    &lt;td class=&#8221;nav&#8221; onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 1&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221; onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 2&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221; onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 3&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221; onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 4&lt;/td&gt;<br />
    &lt;td class=&#8221;nav&#8221; onClick=&#8221;document.location.href=&#8217;http://www.funkytower.com&#8217;;&#8221;&gt;Page 5&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</em></p></blockquote>
<p><strong>Step 6 &#8211; Save it and Test it!</strong></p>
<p>Upload it to your server and test it out.  Now you have a fully functional navigation bar done completely in CSS!  Final thing to do is test it out!!!</p>
<p><strong>Other Tips:</strong></p>
<p>Now, this is totally optional, but I would reccomend adding your CSS to an external CSS document, rather than adding the entire CSS code to the head of your HTML document. </p>
<p>To do this, copy and paste all the CSS code (excluding &lt;style type=&#8221;text/css&#8221;&gt; and &lt;/style&gt;) into a new notepad document and save it as style.css in the same location as your HTML document.</p>
<p>Now, open up your HTML document and replace ALL your CSS code, including the &lt;style&gt; tags, with this:</p>
<blockquote><p><em>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;style.css&#8221; type=&#8221;text/css&#8221; /&gt;</em></p></blockquote>
<p>Now save your HTML document and test it.  <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong></strong></p>
<p><strong>What Do you Think?<br />
</strong>Did this tutorial help you??  Got any other cool tips or tricks regaurding HTML/CSS?  Need to know how to do anything else with CSS or HTML?  Let me know and I would love to help you!!!  You can e-mail me at <a href="mailto:david@funkytower.com">david@funkytower.com</a> and I&#8217;ll do everything I can to help you <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> </p>
<p>Take it easy,<br />
David Crandall</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidcrandall.com/2008/08/12/making-a-navigation-bar-in-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
