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

DD Color Tabs

Author: Dynamic Drive

This is a lightweight, very easy to customize image tabs menu similar to the one you see throughout Dynamic Drive. Instead of swapping between two tab images, this menu uses a unified transparent tab instead. What this means is that you can in fact change the menu and menu hover colors just by changing the two color values inside the CSS code! It doesn't get simpler than that.

The two colors used in this menu are: #8b0000 and #d50509. Just by changing these two colors, you instantly create a different theme for the menu tabs. There's no need to touch the images in any way unless your page's background image isn't white. In that case you'll have to modify the images' corners' background color so they match that of the page's.

Demo:

 

The two images (resized for easier download):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 05/07/2006

Revision History:
June 12th, 06': Fixed HTML code for separator bar height issue in IE.

Usage Terms: Click here

Your Comments (78)

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

Dss, are you looking just to add a drop down menu to certain tabs? If so, just use Anylink CSS menu (http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm) with this CSS code. Should be plug and play basically to add a 2nd level to the tabs.
Posted by ddadmin on 06/19, 06:01 PM
Actually I'm trying to find dhtml/javascript tabs like http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm but with rouned corners like above

They would need to be OnClick rather than hover.
Posted by Dss on 06/20, 06:30 AM
So simple... So sweet...
I really like the minimalistic style. Neat way of rounding the edges. Keep 'em coming!
Posted by Torstein Nicolaysen on 06/22, 02:55 PM
How is the simplest way to let this menu align to the right of the page ?
Posted by troels on 08/18, 01:40 PM
Thank you ever so much Dynamic drive, your making my website making so much easier!!
Posted by sebhockey3 on 08/20, 12:53 PM
are the images supposed to be not there...i dont see anything inside the boxes...
Posted by Regac on 08/29, 03:09 PM
Wow! Now I can make a really great site! Thanks CSS Library!
Posted by Joseph on 09/18, 01:31 AM
Great code! Lovin' it.

I'm curious about this section:

#ddcolortabs a span{
float:left;
<snip>
}

#ddcolortabs a span{
float:none;
}

Why set the float to "left" if you just set it to "none"?
Posted by Jonah Dempcy on 09/21, 01:50 PM
How to change the color of this tab menu? i couldnt find the color code #8b0000 and #d50509.
Posted by barry on 09/21, 09:46 PM
How would I align the tabs on the RIGHT SIDE of that bar, instead of starting from left?
Posted by Q on 10/10, 03:17 AM

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