PDA

View Full Version : Centering DD Color Tabs II



kmaven
05-07-2008, 04:10 PM
1) Script Title:
DD Color Tabs II

2) Script URL (on DD):
http://www.dynamicdrive.com/style/csslibrary/item/dd-color-tabs-ii/

3) Describe problem:
I am trying to center the DD Color Tab II on a test page that I have. I have already tried this method (http://www.dynamicdrive.com/forums/showthread.php?t=15023) , but the tabs got pushed together.

Also, I tried to trick from a user comment on the DD Color Tabs II comments page Posted By Tracey (http://www.dynamicdrive.com/style/csslibrary/item/dd-color-tabs-ii/P40/).

Tracey's fixed almost worked but the menu was not completely centered at 1280 x 1024, 1024 x 768, or even 800 x 600.

Anyway help in this would be appreciated. Here is the link to my test page (http://www.swasaptrio.nezik.com/test_page_for_menu.html)

jscheuer1
05-07-2008, 06:44 PM
This seems to work fine:


#invertedtabs {
padding-top:15px;
width: 710px;
margin: 0 auto;
background: transparent;
voice-family: "\"}\"";
voice-family: inherit;
padding-left: 5px;
}

I'm not sure that the voice family stuff is worth anything one way or the other. But since it is in there on the demo page, might as well keep it.

kmaven
05-07-2008, 06:56 PM
Thank you John,

Worked just like I needed it too.