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: Horizontal CSS Menus: Here

jQuery Drop Line Tabs

Author: Dynamic Drive

This menu turns a nested UL list into a horizontal drop line tabs menu. The top level tabs are rounded on each side thanks to the use of two transparent background images, while the sub ULs each appear as a single row of links that drop down when the mouse rolls over its parent LI. The menu also manages to sneak in a little CSS3, making use of the "border-radius" property to give each link within the sub ULs rounded edges when the mouse hovers over them..

Note that the two transparent gifs that help create the rounded corner tabs assume your page has a white background. If it doesn't, you'll need to edit the image's background to match your page's. The tradeoff is that you can the tabs' background color can be changed just by editing the CSS alone.

Demo:

Important: Make sure your page contains a valid doctype for this menu to render properly.

The external files: The menu requires the following support files, which you should upload by default all to the same directory as your page itself:

The CSS/ JavaScript: The below code should be added to the HEAD section of your page:

The HTML:

Code Info

Rate this code:

Date Posted: 07/05/2009

Revision History: None

Usage Terms: Click here

Your Comments (11)

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

can any one please help me. Last 5 days I have been working on this but I couldn't figure out.
Posted by shravan on 07/28, 09:01 PM

Comment Pages 2 of 2 pages  <  1 2


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