Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library
Submit an original CSS code
CSS Layouts
Web Graphics
Online Tools:

Advertise Here

CSS Library: Vertical CSS Menus: Here

Sliding Doors Vertical Menu

Author: Dynamic Drive

This nicely padded vertical menu swaps between two background images depending on whether the mouse is over or out of a menu item. To ensure a perfectly smooth transition between image change (especially in IE), it uses the Sliding Doors technique and a single background image that merges the two backgrounds into it.

Demo:

The single image used (resized horizontally):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 03/30/2007

Revision History: None

Usage Terms: Click here

Your Comments (31)

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 3 of 4 pages  <  1 2 3 4 >

Nice and good work !
Posted by shine on 01/22, 12:57 AM
I never thought of the sliding doors technique with css. I mean i'd seen it before but just realised the capability of css to achieve it. Big thanks!
Posted by Web Design Bedford on 02/14, 12:51 PM
pink is a great colour along with red, blue, black, white and blue. and purple. i guess all colors are great.

great menu really fits in with my clients website!!
Posted by Husain on 03/31, 12:43 PM
Hi there,

I tried to do this in MS Front Page but all I'm getting is black links with >> in front...
Posted by dekorasyon on 04/04, 01:05 PM
How can I make this CSS menu show on multiple pages without pasting the entire code in each page?
Posted by Eva on 04/06, 02:50 PM
no problem implementing in blog... Tahnk You Dynamic Drive
Posted by kale kasa on 04/07, 04:59 AM
Many thanks for a great code. Looks nice & pro !
Posted by Abie on 04/19, 05:49 PM
Can you please tell if i want to Add submenu how can i do that???

any change in coding???
Posted by vrajesh on 05/26, 11:50 AM
Great css but I get the bullet points down the side, I am useing IE7
Posted by Steve on 06/12, 03:37 PM
Nice menu, I made in into a green one and implemented it into oscommerce, it looks great!
Posted by site designer on 12/17, 05:58 AM

Comment Pages 3 of 4 pages  <  1 2 3 4 >

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