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:
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 6 pages « First < 1 2 3 4 5 > Last »
why, when placing this menu in a table row, there is space left under the menu, and I can't make the table row height the same as the menu?
I'm not very known with CSS.. And I've no Idea what 2 do. I put the CSS code in the html's 'head' and the HTML code in the body... Is this wrong? Because I only get a pink stripe under the link. The table is not painted pink... HELP ME! what am I doin wrong?
Matt: i think you did nothing wrong. did you saved the 2 images used (pinkbg.gif and pinkbgover.gif) into the directory where the codes are located? that should solve the problem....
im a noob so be easy :)
where is the "#rightmost item" coded in the html?
where is the "#rightmost item" coded in the html?
Very good, this script saved a lot of my time ..
Great looking Menu.... Might just have to change the pink look though , its a little too pretty for my website.
Everything I put here is ignored:
#thicktabs {
width:1024px;
margin: 0;
padding: 0;
float: left;
font: 11px Tahoma;
}
Font is not applied, nav is centered instead of aligned left, width is not respected.. I don't understand.
#thicktabs {
width:1024px;
margin: 0;
padding: 0;
float: left;
font: 11px Tahoma;
}
Font is not applied, nav is centered instead of aligned left, width is not respected.. I don't understand.
Just a note to those asking how to make this menu go 100% across your page...
All you have to do is add the following code:
ul#thicktabs {
width:770px;
background-image:url(../img/nav/pinkbg.gif);
background-repeat:repeat-x;
border-top: 1px solid #d3bdbe; /*top border style*/
border-bottom: 3px solid #ffa1a3; /*thick bottom border below tabs*/
}
Best of luck!
All you have to do is add the following code:
ul#thicktabs {
width:770px;
background-image:url(../img/nav/pinkbg.gif);
background-repeat:repeat-x;
border-top: 1px solid #d3bdbe; /*top border style*/
border-bottom: 3px solid #ffa1a3; /*thick bottom border below tabs*/
}
Best of luck!
If this is nested inside a container div that is say, 800px, how can I make the menu stretch to be the same width?
ozbroomy
ozbroomy
Tried the above CSS in IE6 and the result was not very pleasent. Every time you hover over the tabs they flash. Does anyone know how to get around this ?








