PDA

View Full Version : Drop Down Tabs (5 styles) Positioning



vegasweb
03-05-2008, 07:29 PM
1) Script Title: Drop Down Tabs (5 styles)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm

3) Describe problem: I am using the script successfully, but my clients want the white space at the right end of the tabs to be gone, so basically stretch the tabs to the edge of the table. I haven't been able to remove this without breaking the tabs to a second row. I have tried making the table narrower, adding letter-spacing, etc. Is there some sort of spacer or setting there to prevent the tabs from getting closer to the right edge of the table?

View site here: http://71.6.162.58:8124/default.asp

Just found something else, it is dropping the last tab to the next line in Firefox, but fine in IE - any ideas?

Thank you for your help!

ddadmin
03-05-2008, 08:53 PM
Is there some sort of spacer or setting there to prevent the tabs from getting closer to the right edge of the table?

No, but if you're looking to get rid of any white space that exists at the very start of the left most tab, you can do so with the change in red below:


.ddcolortabs ul{
font: normal 12px "Times New Roman", Times, serif;
margin:0;
padding: 0;
padding-top:5px;
list-style:none;
}

vegasweb
03-06-2008, 01:10 AM
No, but if you're looking to get rid of any white space that exists at the very start of the left most tab, you can do so with the change in red below:


.ddcolortabs ul{
font: normal 12px "Times New Roman", Times, serif;
margin:0;
padding: 0;
padding-top:5px;
list-style:none;
}

Thanks, I only had the space on the right side, but I used this to add padding to the left so it now looks centered.