CSS Library: Horizontal CSS Menus: Here
Sliding Doors Tabs Menu
Author: Dynamic Drive
This is a two state rollover tabs menu based on the popular sliding doors technique. It uses two images only, a right and left tab, with each image shifting up and down as the mouse moves over a tab. This ensures a flicker free experience in IE, though it also means the tab images themselves require a little more labor to create.
The "CSS" tab is highlighted, by giving its <li> container an ID of "current."
Demo:
The two images:

The CSS:
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 5 pages 1 2 3 > Last »
I love your new look and .css is scrumptious... bravo and thanks.
Nice and concise! Thanks for the clean and simple content, I am working a project now that uses tabs and this provides a quick solution.
this is fab! kudos to dynamicdrive for the wonderful script!
I'm a n00b to CSS, but this is really simple, it makes my site look so much more professional
the images dont work with me...i put the .css file and the .htm file and the .gif files in one map and it still doesn't work:S
plz help
plz help
How I can center the menu?
Rogier, check that the images are placed inside the "media" sub folder within your directory, or change the paths to the images inside the CSS from "media/tab.gif" to the correct path.
Damu, that's the problem with the sliding doors technique, which uses floats- there's no real easy way to center the menu tabs.
Damu, that's the problem with the sliding doors technique, which uses floats- there's no real easy way to center the menu tabs.
I don't know why but even the button on your page flickers with my browser...
When i download all locally and use in my local web server it's a little better but still flickers. Can it be my explorer that's the problem ?
When i download all locally and use in my local web server it's a little better but still flickers. Can it be my explorer that's the problem ?
Very neat and tidy and also great to use for single buttons but would be better if it had a bottom image.
Thanks again Dynamic Drive
I am just becoming familiar with CSS - programming is not new to me
#slidetabsmenu a span {
please clarify this notation - does it refer to: slidetabsmenu a & slidetabsmenu span definitions to the Style?? thanks
trying to implement this type of menu on my site so any help appreciated..
BTW this menu is very clean -n- sharp
Commenting is not available in this weblog entry.
#slidetabsmenu a span {
please clarify this notation - does it refer to: slidetabsmenu a & slidetabsmenu span definitions to the Style?? thanks
trying to implement this type of menu on my site so any help appreciated..
BTW this menu is very clean -n- sharp

