<?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; CSS</title>
	<atom:link href="http://www.davidcrandall.com/categories/web-design/css/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</generator>
		<item>
		<title>Dreamweaver MX and Vista Fix &#8211; Insert Tables &#8211; Best fix</title>
		<link>http://www.davidcrandall.com/2008/09/22/dreamweaver-mx-and-vista-fix-insert-tables-best-fix/</link>
		<comments>http://www.davidcrandall.com/2008/09/22/dreamweaver-mx-and-vista-fix-insert-tables-best-fix/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 02:04:11 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Insert]]></category>
		<category><![CDATA[MX]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.funkytower.com/?p=382</guid>
		<description><![CDATA[PLEASE NOTE &#8211; THIS FIX WILL NO LONGER BE AVAILABLE AT THIS URL AS WE ARE MOVING TO DAVIDCRANDALL.COM &#8211; HOWEVER, WE UNDERSTAND THIS PROBLEM HAS EFFECTED MANY PEOPLE AND WE WILL MAKE A PAGE DEDICATED TO THIS FIX Hello everyone!  A common problem for Vista users with Dreamweaver MX is the &#8220;Insert&#62;Tables&#8221; function; it [...]]]></description>
			<content:encoded><![CDATA[<p><strong>PLEASE NOTE &#8211; THIS FIX WILL NO LONGER BE AVAILABLE AT THIS URL AS WE ARE MOVING TO DAVIDCRANDALL.COM &#8211; HOWEVER, WE UNDERSTAND THIS PROBLEM HAS EFFECTED MANY PEOPLE AND WE WILL MAKE A PAGE DEDICATED TO THIS FIX</strong></p>
<p><object width="425" height="350" data="http://www.youtube.com/v/DmKLdFSYB8o" type="application/x-shockwave-flash"><param name="src" value="http://www.youtube.com/v/DmKLdFSYB8o" /></object></p>
<p>Hello everyone!  A common problem for Vista users with Dreamweaver MX is the &#8220;Insert&gt;Tables&#8221; function; it simply will not work.  I have already posted two articles on this issue providing some fixes for the issue.  In the first article, I show how to make the &#8220;Insert Table&#8221; function actually do something and that is insert a table.  The only problem with THIS fix is that it doesn&#8217;t allow you to change the specs before the table is inserted into your Document.  The second fix is a tip given by a user, and another tip given by me which has worked for a decent ammount of people, but not all (for some it only worked temporarily, then the problem occured again.)  In this tutorial, I will be giving a new fix which will make the &#8220;Insert Tables&#8221; function work like a charm.</p>
<p><span id="more-382"></span></p>
<p>1.  First thing is first, download, save, and extract this ZIP file:  <a href="http://www.funkytower.com/wp-content/uploads/newtable1.zip">newtable1.zip</a></p>
<p>2.  Right click and copy the &#8220;table.htm&#8221; file  (The code in this file was taken from an extension called &#8220;etable&#8221; that you can download from <a href="http://www.idest.com/dreamweaver/objects-fr.htm" target="_blank">http://www.idest.com/dreamweaver/objects-fr.htm</a>)</p>
<p>3.  Go to C:\Program Files\Macromedia\Dreamweaver MX\Configuration\Objects\Common  (NOTE:  Some users may have to go there AND C:\Users\YOUR USER NAME\AppData\Roaming\Macromedia\Dreamweaver MX\Configuration\Objects\Common and repeat the following steps in both locations.  This location is &#8220;Hidden&#8221; so either enable windows explorer to view hidden files and navigate to this location, OR copy and paste the filepath into the address bar in windows explorer and replace &#8220;YOUR USER NAME&#8221; with an appropriate username.)</p>
<p>4.  In this folder, rename &#8220;Table.htm&#8221; to &#8220;Tableold.htm&#8221; so you can reuse this file as a backup.</p>
<p>5.  Now, press CTRL+V to paste the recently downloaded &#8220;Table.htm&#8221; file.</p>
<p>6.  Open up Dreamweaver MX and insert a table <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, the customization feature won&#8217;t look exactly like the original, but it has all the functions &#8211; plus a little more!  If you want, you can even tweak this &#8220;Table.htm&#8221; file to do whatever you&#8217;d like.</p>
<p>For me, this is the best way to get Dreamweaver MX to insert tables on Windows Vista.</p>
<p><strong>What Do You Think?<br />
</strong>Did this help you?  Have you tweaked the Table.htm file to do something really cool?  Send your thoughts to <a href="mailto:david@funkytower.com">david@funkytower</a> or leave a comment below.  I look forward to hearing from you.  <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Take it easy,<br />
David Crandall</p>
<p><strong>UPDATE:</strong><br />
I received this e-mail from Dave who has some useful information for those who may have trouble using this fix.</p>
<blockquote><p><em><span><span style="font-family: Calibri;"><span style="font-size: 9.5pt;">Just a heads up I had to  change the file in all of these location in order to get it to work. Thought I  would let you know in case anyone else had trouble with it. So thank you for  pointing me in the right direction. The tables not working has been a huge  frustration since switching to vista.</span></span></span></em></p>
<p><em>Thanks again! </em></p>
<p><em><span><span style="font-family: Calibri;"><span style="font-size: 9.5pt;">C:\Program  Files\Macromedia\Dreamweaver MX\Configuration\Objects\Common</span> </span></span></em></p>
<p><em><span><span style="font-family: Calibri;"><span style="font-size: 9.5pt;">C:\Program  Files\Macromedia\Dreamweaver MX\Configuration-1\Objects\Common</span> </span></span></em></p>
<p><em><span><span style="font-family: Calibri;"><span style="font-size: 9.5pt;">C:\Users\David\AppData\Roaming\Macromedia\Common</span> </span></span></em></p>
<p><em><span style="font-size: 9.5pt;"><span><span style="font-family: Calibri;">C:\Users\David\AppData\Roaming\Macromedia\Dreamweaver  MX\Configuration\Objects\Common</span></span></span></em></p></blockquote>
<p>In Dave&#8217;s case, there are 4 file paths in which he had to paste the &#8220;Table.htm&#8221; file.  This situation is pretty uncommon, but if you find yourself STILL not being able to get the &#8216;Insert Table&#8221; function to work, search out some new file paths that are in relation to Dreamweaver MX.</p>
<p>Please note, typically, when you need to paste this file in more than the two file paths is when you&#8217;ve uninstalled and reinstalled Dreamweaver MX multiple times.  When uninstalling Dreamweaver MX, Vista leaves behind the hidden &#8220;Configuration&#8221; files, thus, when reinstalling, a second Configuration folder is created.  I hope this makes sense.  Thank you, Dave, for sharing your new info with us!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidcrandall.com/2008/09/22/dreamweaver-mx-and-vista-fix-insert-tables-best-fix/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
		<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>
		<item>
		<title>Website Performance Tips pt. 2:  CSS, Validation, Multiple Browsers, and Image Optimization</title>
		<link>http://www.davidcrandall.com/2008/08/07/website-performance-tips-pt-2-css-validation-multiple-browsers-and-image-optimization/</link>
		<comments>http://www.davidcrandall.com/2008/08/07/website-performance-tips-pt-2-css-validation-multiple-browsers-and-image-optimization/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 02:18:50 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Speed]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Validate]]></category>

		<guid isPermaLink="false">http://funkytower.com/?p=270</guid>
		<description><![CDATA[Welcome to part 2 of this article! So now that we&#8217;ve covered templating in our last tutorial, here are some other tips for making your webpage move faster. Use External CSS Documents:  Rahter than implamenting your CSS into the HEAD of your local document,  link your webpage to an external CSS document.  Do this by templating [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to part 2 of this article!</p>
<p>So now that we&#8217;ve covered <a href="http://funkytower.com/2008/08/07/website-performance-tips-pt-1-templating/">templating in our last tutorial</a>, here are some other tips for making your webpage move faster.</p>
<p><span id="more-270"></span></p>
<ol>
<li>Use External CSS Documents:  Rahter than implamenting your CSS into the HEAD of your local document,  link your webpage to an external CSS document.  Do this by templating your CSS in the header like normal, making sure you have the webpage looking like it should.  Then copy all the CSS code into a new notepad document and save it as &#8220;styles.css&#8221; After that, erase the CSS from the HEAD of your webpage and replace it with &#8220;&lt;link rel=&#8217;stylesheet&#8217; href=&#8217;styles.css&#8217; type=&#8217;text/css&#8217; media=&#8217;all&#8217; /&gt;Doing this keeps browsers from having to load the same stylesheet over and over by allowing it to store one stylesheet file to reuse.</li>
<li>Validate your CSS:  Go to <a href="http://jigsaw.w3.org/css-validator/" target="_blank">http://jigsaw.w3.org/css-validator/</a> and have your stylesheet(s)/webpage(s) validated.  If you have ANY errors in your CSS, fix them.  Browsers like IExplorer fix some CSS issues to make the webpage look like it&#8217;s supposed to, which can cause your website to move slower for alot of users.  Also it can keep your website from looking right in 3rd party browsers, like FireFox (of course, FireFox is so huge right now I don&#8217;t think I should be calling it 3rd party <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
<li>Validate your HTML:  Go to <a href="http://validator.w3.org/" target="_blank">http://validator.w3.org/</a> and have your webpage(s) validated.  If there are any errors, FIX THEM.  This will help users from all different browsers to see the website as it is meant to be, giving them a pleasant and enjoyable experience.</li>
<li>Adding to other browsers, test your website in multiple browsers like IExplorer, Firefox, etc.  Different browsers decode websites differently, therefor they display them differently.  To improve your websites performance, fine-tune your code so that it is compatible with major browsers so that it looks and feels beautiful <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Finally, make sure your content&#8217;s filesizes aren&#8217;t too big.  For example, if you have alot of pictures in your web page, lower the quality just a little bit, and (if possible) make them smaller in dimension.  The less a web browser has to load, the quicker your website will move.</li>
</ol>
<p>If you have followed all these steps, you should have a smooth, sleek, multi-browser compatible, user-friendly website.  <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> </p>
<p><strong>What Do You Think?<br />
</strong>Did these tips help you to build a smooth running website?  Do you have questions about web design?  Do you have any other ways to boost a website&#8217;s performance?  I want to know what you have to say &#8211; I would love to share your information with the world here at FunkyTower!  Send me an e-mail at <a href="mailto:david@funkytower.com">david@funkytower.com</a> <img src='http://www.davidcrandall.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I hope to hear from you soon!</p>
<p> </p>
<p>Take it easy,<br />
David Crandall</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidcrandall.com/2008/08/07/website-performance-tips-pt-2-css-validation-multiple-browsers-and-image-optimization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Customize links using CSS</title>
		<link>http://www.davidcrandall.com/2008/08/04/css-links/</link>
		<comments>http://www.davidcrandall.com/2008/08/04/css-links/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 02:16:06 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Custom]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://funkytower.com/?p=117</guid>
		<description><![CDATA[So you&#8217;re getting into CSS and want to know how to make some decent looking links, hmm?  It&#8217;s really quite simple really.  In this tutorial, we will go over the three basic kinds of links: &#8220;link&#8221;, &#8220;visited&#8221;, and &#8220;hover.&#8221; The &#8220;link&#8221; tag is for the general link when it has never been clicked.  The &#8220;visited&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re getting into CSS and want to know how to make some decent looking links, hmm?  It&#8217;s really quite simple really.  In this tutorial, we will go over the three basic kinds of links: &#8220;link&#8221;, &#8220;visited&#8221;, and &#8220;hover.&#8221;</p>
<p><span id="more-117"></span>The &#8220;link&#8221; tag is for the general link when it has never been clicked.  The &#8220;visited&#8221; tag is for links that have been clicked or pages that have already been viewed through that specific URL.  The &#8220;hover&#8221; tag is the coolest one; it is what happens when you put your mouse/cursor over the link.</p>
<p>When creating a CSS code for your links, it must look like this within your stylesheet:</p>
<blockquote><p>a:link {<br />
                 color: #333333;<br />
                 text-decoration: none;<br />
}</p></blockquote>
<p>This makes your link have no underline and makes the color of the link a dark grey color.  You can change these to make it however you want.  You can give it a &#8220;background-color&#8221; tag and allow it to have almost a highlighter effect.</p>
<p>When creating your links using all three tags, they must be in order.  This means the &#8220;link&#8221; and &#8220;visited&#8221; tags must go first, and the &#8220;hover&#8221; tag must go last, like so</p>
<blockquote><p>a:link {<br />
                 color: #333333;<br />
                 text-decoration: none;<br />
}<br />
a:visited {<br />
                color: #333333;<br />
                text-decoration: none;<br />
a:hover {<br />
                color: #333333;<br />
                text-decoration: underline;<br />
}</p></blockquote>
<p>You can change any color and text decoration of all of these.  You can add &#8220;font-weight&#8221; tags and make them bold, italic, etc., or you can give them a &#8220;background-color&#8221; and more&#8230;but If the order of your code is not in the proper order, your &#8220;hover&#8221; effects will not work properly.</p>
<p>You can edit links in specific areas as well by giving your link a specific class id, like this:</p>
<p>CSS Code</p>
<blockquote><p>links1.a:link {<br />
                 color: #333333;<br />
                 text-decoration: none;<br />
}</p></blockquote>
<p>HTML Code</p>
<blockquote><p>&lt;a href=&#8221;http://www.linktowebsite.com&#8221; class=&#8221;links1&#8243;&gt;Click Here!&lt;/a&gt;</p></blockquote>
<p> </p>
<p>You can also change the links of specific DIV&#8217;s and Tables by giving them id&#8217;s.  This is a little different from the last one, but what I like about it is it eliminates giving every single link you want to change it&#8217;s own class id.  For example</p>
<p>CSS Code:</p>
<blockquote><p>#content a:link {<br />
                 color: #333333;<br />
                 text-decoration: none;<br />
}</p></blockquote>
<p>HTML Code:</p>
<blockquote><p>&lt;table width=&#8221;100px&#8221; height=&#8221;100px&#8221; id=&#8221;content&#8221;&gt;&#8230;.</p>
<p style="text-align: center;">OR</p>
<p style="text-align: left;">&lt;div id=&#8221;content&#8221; class=&#8221;content&#8221;&gt;&#8230;.</p>
</blockquote>
<p style="text-align: left;">That&#8217;s it!  I hope this helps you getting your links to match your website!</p>
<h2 style="text-align: left;">What Do You Think?</h2>
<p style="text-align: left;">Know any cool CSS or web design tips or tricks?  Have any other questions about how to do something in CSS?  Whatever the case may be, I want to hear about it!  Let me know at <a href="mailto:david@funkytower.com">david@funkytower.com</a>!</p>
<p style="text-align: left;">Take it easy,<br />
David</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidcrandall.com/2008/08/04/css-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
