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 (48)

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
I dont know why, but Safari Opera (mac web browser) shows a big white space between
<div id="invertedtabsline"> </div> and
<div id="invertedtabs">

On Windows & Firefox browser, no such white space.

Do you have any ideas on how to eliminate the white space?

Thanks in advance..
Jeff Brustin
Posted by Jeff on 02/15, 09:59 AM
does anyhow know how to set the last selected tab highlighted...not #current...but the last selected one
Posted by tristen on 04/01, 10:16 PM
you can center the menu by adjusting the margin-left: 4px; in the css code. Instead of using 4px adjust it up to 420px---this worked for me.

This is a great script...thanks!
Posted by well well well on 04/28, 09:56 PM
Good looking navigation for sure...Thanks for shared

http://www.thinkflick.com/freebies/apple-mac-style-image-gallery/
Posted by Wpdigger on 06/02, 10:48 PM

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

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