There have been two great menu and navigation techniques I have used over the last few years:
Sliding Doors of CSS
Sons of Suckerfish (for drop down menus)
I have used both of these techniques on several web sites, but crazily not together...until a week ago when a client decided they wanted to move away from their antiquated menus that relied on hundreds of lines of javascript, HTML tables, and over 40 image files (for seven tabs). This technique works in IE 6, IE 7, Firefox, and Safari.
After I had put the code into place I thought it might be helpful for others to see exactly how it is done. These techniques give you a lot of flexibility with very lightweight code.
Code/Files Needed
Two tab images (left and right, with both an active and hover (highligted) option
Sub-menu arrow (not required)
Sons of Suckerfish javascript
CSS for both the drop downs and the sliding doors techniques
Menu list code (your menu items)
Two tab images
The sliding door technique is great because you do not need to make tab specific images, nor do you need to worry about the tab length - it is all taken care of by two images and some CSS. For ... [more]