Hostgator coupons for up to 99% off hosting for Dynamic Drive visitors!
Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library

CSS Library: Horizontal CSS Menus: Here

Inverted Shift Down Menu

Author: Dynamic Drive

This clean CSS horizontal menu contains tabs with text that shift downwards slightly when the mouse rolls over it. And just for demonstration, it shows how to make the bottom corners of each tab rounded using both CSS3 and Mozilla's proprietary declarations for rounded corners. Note that the rounded corners effect is currently only visible in Firefox (and future CSS3 browsers). The relevant lines within the CSS code are:

-moz-border-radius-bottomleft: 5px;
border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
border-bottom-right-radius: 5px;

Remove these lines if you're aiming for a consistent look across browsers.

The CSS:


Code Info

Rate this code:

Date Posted: 08/10/2007

Revision History: None

Usage Terms: Click here

Your Comments (19)

Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.

Comment Pages 1 of 2 pages  1 2 >

How Do you change the Red into another color if desired. For Instance if My link and Vlink were some form of blue, how do I make to the red horizontal line and the down shift color to change.
Posted by Jalil S~ on 08/16, 10:34 AM
is there anyway to achieve rounded corners for IE?
Posted by Ders on 08/20, 06:15 PM
No, this border effect is for Mozilla only.
Posted by Steve on 09/07, 12:12 PM
Putting the red line top, makes this menu more suitable for template header usable. In this way I think horizantal menu will look seperate from header content but slightly putting bottom will look nice.

I love this site, thank you for your effort.
Posted by alper on 10/04, 12:33 AM
Love this menu......but when I look at it in IE7 it is completely gone. Suggestions?
Posted by Julie on 10/13, 08:02 PM
Looks nice including the find button at the end of the menu, give the menu more option and contrast. Thanks for the code, great site.
Posted by Infomarket on 12/02, 01:50 AM
how do i make the color transparent?? I'm using a different code for that but how would I apply it to this??
Posted by lolz on 01/01, 09:48 PM
Awsome! Works perfectly with my project.
Posted by Jacob on 01/09, 04:40 PM
Great work, this is going on our garage doors website in the next few days ;)
Posted by Garage Doors Bedford on 02/14, 12:42 PM
thanks to help and information about css menu and i hope not problem if menu my blog relation with u site
Posted by Arif on 03/10, 04:49 AM

Comment Pages 1 of 2 pages  1 2 >

Commenting is not available in this weblog entry.
Copyright 2006-2015 Dynamic Drive Read our Usage Terms before using any of the CSS codes.