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 II

Author: Dynamic Drive

Based on the same design as DD Colors Tabs, this second version flips the tabs over to create an inverted look. Just like the original, you can modify the menu's default and hover colors just by altering the two color values inside the CSS code. This is made possible thanks to transparent images used as the menu tabs' interface.

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.

Demo:

 

The two images (resized for easier download):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 07/12/2006

Revision History: None

Usage Terms: Click here

Your Comments (44)

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

I have managed to center it on my page by adding a additional opening and closing div tag within the invertedtabs div tag :

<code>
<div id="invertedtabs">
<div>
<ul>
<li style="margin-left: 1px">
<span>Home</span></li>
<li><span>New</span></li>
</ul>
</div>
</div>
<code>

Then i added the following to my css

<code>

#invertedtabs div{
padding-left: 190px;
}
<code>

That worked for me in both firefox and ie, not tried any other browser.
Posted by Tracy on 02/27, 01:40 PM
Thanks, they work good and are easy to configure. Even for none css experts. Thanks much dynamic drive crew for all the resources you offer.
Posted by Steve on 03/21, 12:54 AM
Thank You for help, all reader log on my blog to know more info...
Posted by Mukesh Yadav on 08/01, 02:40 AM
Can anyone help?!! Great menu...but How do I use it on a page where the Background is NOT white..I mean the rounded corners show as white triangles on a green page..how do I remove these?Thanks in advance
Posted by Nick on 08/18, 01:44 PM

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

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