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

Advertise Here

CSS Library: Horizontal CSS Menus: Here

CSS Thick Tabs

Author: Dynamic Drive

These CSS menu tabs come with thick top/bottom padding to achieve that attractive cushioned look. Setup is very easy- each menu link simply carries a gradient background image that is changed to a darker version of the original when the mouse rolls over each menu item.

Demo:


The two images used (resized horizontally):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 11/12/2006

Revision History: None

Usage Terms: Click here

Your Comments (60)

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 5 of 6 pages « First  <  3 4 5 6 >

web tasarımı you can change them! You must put classess in "a" tags!
Posted by web tasarım on 07/06, 05:31 PM
My links do not change with css! Why?
Posted by web tasarım on 07/06, 05:33 PM
Great!! Works fantastically. :)
Posted by Ritu Raj on 08/07, 03:27 PM
Archie, the "flash" between the :link and :hover states is a pretty common IE annoyance. It also occurs in other browsers when the background image is loading; in the interim the background of the container in which the tabs are located pops through. Work around this by combining both the :link and :hover images into one image, and use CSS to re-align the background in the :hover state so the appropriate part of the image shows through. For example, if you had a light pink image that was 10 pixels high, with another, darker 10-pixel-high pink image just under it, you would align the :hover background image to "0" from the left edge, and to "-10px" from the top edge. Of course, IE does not always behave, and there may be some unwanted flash-age. This trick, however, helps tremendously.
Posted by Sarah Jeanne on 08/09, 08:12 PM
i saved the two images for the pink navigational bar but I have no idea how to link it. What should i do?
Posted by soulsteel on 08/21, 10:08 AM
Hey everyone i customized the colors myself but how can i move this menu to anywhere on the page where i want it? thanx
Posted by stefan Oosten on 09/18, 05:34 AM
if you want to center it you could try

#thicktabs{
margin: 0 auto
}

hope this helps
Posted by Matt on 11/09, 08:44 AM
Nice! Thanks.
Posted by Agustín on 12/03, 12:46 PM
Teşekkürler
Posted by gruphepsi on 12/28, 07:38 AM
gruphepsifan
Posted by gruphepsi on 12/28, 07:39 AM

Comment Pages 5 of 6 pages « First  <  3 4 5 6 >

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Supported BB codes: [b], [i], [u], [em], [strike], [strong], [pre], [code], and [blockquote].

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below ("previewing" post does not require it):


Copyright 2006-2008 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library