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

Glossy Horizontal Menu

Author: Santosh Setty

A nicely curved, glossy looking horizontal menu. Three images are used to create the interface- an underlining repeating gradient image, plus left and right parts of a sliced tab image for the selected tab. The author (Santosh) has kindly created five different color schemes:

Demo:





The images used:

Red scheme (3 images):

Blue scheme (3 images):

Green scheme (3 images):

Orange scheme (3 images):

Purple scheme (3 images):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 11/01/2007

Revision History: None

Usage Terms: Click here

Your Comments (218)

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 22 of 22 pages « First  <  20 21 22

I want to create this menu in my website but i feel it very hard to do so i cant create it, when i copied the code and inserted it into my html page i can see the menu as its appearing now in dynamic drive, please help me create that menu in ;my site
Posted by ahmed on 04/08, 07:20 AM
hi, you people are great....
Posted by Mushtaq on 04/09, 11:36 PM
Hi,
Thanks for this style.
I tried to embed it in right-to-left page and I couldn't make it IE6 compatible.

Here is the css code (adjusted to RTL interface):
/*Credits: By Santosh Setty (http://webdesigninfo.wordpress.com) */
/*Posted to: Dynamic Drive CSS Library (http://www.dynamicdrive.com/style/) */

.glossymenu{
position: relative;
padding: 0 0 0 34px;
margin: 0 auto 0 auto;
background: url(images/menu/menub_bg.gif) repeat-x; /*tab background image path*/
height: 46px;
list-style: none;
}

.glossymenu li{
float:right;
display:inline;
}

.glossymenu li a{
/*float: right;*/
display: block;
color:#000;
text-decoration: none;
font-family: sans-serif;
font-size: 13px;
font-weight: bold;
padding:0 0 0 16px; /*Padding to accomodate left tab image. Do not change*/
height: 46px;
line-height: 46px;
text-align: center;
cursor: pointer;
}

.glossymenu li a b{
/*float: right;*/
display: block;
padding: 0 24px 0 8px; /*Padding of menu items*/
}

.glossymenu li.current a, .glossymenu li a:hover{
color: #fff;
background: url(images/menu/menub_hover_left.gif) no-repeat; /*left tab image path*/
}

.glossymenu li.current a b, .glossymenu li a:hover b{
color: #fff;
background: url(images/menu/menub_hover_right.gif) no-repeat left top; ;/*right tab image path*/
background-position: right;
}

This works great on FF, Chrome and IE7 but not on IE6.
can someone help me to make it IE6 compatible?

Thanks
Posted by david on 04/16, 10:30 AM
well. now it works:
.glossymenu{
position: relative;
padding: 0 0 0 34px;
margin: 0 auto 0 auto;
background: url(images/menu/menub_bg.gif) repeat-x; /*tab background image path*/
height: 46px;
list-style: none;
}

.glossymenu li{
float:right;
}

.glossymenu li a{
float: left;
display: block;
color:#000;
text-decoration: none;
font-family: sans-serif;
font-size: 13px;
font-weight: bold;
padding:0 0 0 16px; /*Padding to accomodate left tab image. Do not change*/
height: 46px;
line-height: 46px;
text-align: center;
cursor: pointer;
}

.glossymenu li a b{
float: left;
display: block;
padding: 0 24px 0 8px; /*Padding of menu items*/
}

.glossymenu li.current a, .glossymenu li a:hover{
color: #fff;
background: url(images/menu/menub_hover_left.gif) no-repeat; /*left tab image path*/
}

.glossymenu li.current a b, .glossymenu li a:hover b{
color: #fff;
background: url(images/menu/menub_hover_right.gif) no-repeat left top; ;/*right tab image path*/
background-position: right;
}
Posted by David on 04/16, 10:46 AM
thank you The menu looks great in firefox, but when i try to view it in IE it doesnt display correctly
Posted by youtube on 04/16, 10:59 AM
where is gif image in the page
Posted by Ram on 04/26, 11:09 PM
If bullets show in Firefox or Chrome, adding this

.glossymenu li{
float:left;
list-style-type: none;
}

will make the bullets disappear. Love this menu, great look and feel!
Posted by mcgirrk on 05/06, 04:37 AM
I love the simplicity of it and I like the functionality. Great job on the theme.

http://www.thinkflick.com/freebies/apple-mac-style-image-gallery/
Posted by Think Flick on 06/02, 09:55 PM

Comment Pages 22 of 22 pages « First  <  20 21 22


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