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

Shade Image Tabs Menu

Author: Dynamic Drive

This is an attractive "blue shading" image tab menu. The shade effect is created using two gradient background images, one for the overall tabs, and the other, for the currently "active" tab. Based partially on the Basic Tabs menu, Shade Image Tabs Menu supports three commonly requested features:

Demo:



The two images (resized for easier download):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 05/16/2006

Revision History: None

Usage Terms: Click here

Your Comments (73)

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 8 pages  <  1 2 3 4 >  Last »

Hi i am software developer.
Posted by salman on 07/10, 03:32 AM
I, too, can't fix the horisontal line under the meny. It simply don't show up on the page. Any comment?
Posted by Gorbjo on 07/22, 07:31 PM
This is what I am searching from many weeks!
Thanks to public this menu.
Fabio.
Posted by Dolomiti sciare on 07/26, 03:01 PM
Very good, clean and smooth !
Good...
Posted by Vince on 07/30, 03:08 AM
Thank you very much
Posted by Mahir on 08/01, 07:06 AM
This is great. It's simple, and very transparent coade so you can see how to adapt it for the exact look you're after. If anyone's got any idea how to get the same effect, but with the selected tab appearing [i]taller[/i] than the other tabs, I'd love to find out how.

Rhys
Posted by Rhys Evans on 08/15, 09:38 AM
that work totally fine on any browser and it rocks
Posted by zidanetri on 08/21, 03:09 AM
hi , can you help me ?
i want to design a menu in persian and i want to do it from right to left ? how can i do it ?
Posted by Heam on 08/27, 07:12 AM
this is better

-----------

.shadetabs{
border-bottom: 1px solid gray;
/* width: 90%; width of menu. Uncomment to change to a specific width */
margin-bottom: 1em;
}

.shadetabs ul{
padding: 3px 0;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 12px Verdana;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs li{
display: inline;
margin: 0;
}

.shadetabs li a{
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: #2d2b2b;
background: white url(media/shade.gif) top left repeat-x;
}

.shadetabs li a:visited{
color: #2d2b2b;
}

.shadetabs li a:hover{
text-decoration: underline;
color: #2d2b2b;
}

.shadetabs li.selected{
position: relative;
}

.shadetabs li.selected a{ /*selected main tab style */
background-image: url(media/shadeactive.gif);
border-bottom-color: white;
}

.shadetabs li.selected a:hover{ /*selected main tab style */
text-decoration: none;
}
Posted by engin on 09/03, 03:15 PM
I added this two CSS rules and it worked out for IE 6.0. It's not that super solution, but it does it's job for now:

*html .tabs li.selected {
border-left: 1px solid #0C5E16;
}

*html .tabs li.selected a {
border-left: 0px;
}
Posted by pezzi on 09/17, 03:06 PM

Comment Pages 2 of 8 pages  <  1 2 3 4 >  Last »

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