PDA

View Full Version : Remove gap between tabs



yacoubean
02-09-2007, 06:37 PM
1) Script Title: DD Tab Menu II

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

3) Describe problem: I'd like to remove the big gap that shows between the tabs. In the CSS, there is a comment next to 'margin-right: 0' that says "distance between each tab", but I've adjusted that value and I never get any movement (both positive and negative values). I've also tried a lot of other different things to remove that gap, but it always shows up in both IE and Firefox. What should I try next?

ddadmin
02-09-2007, 10:24 PM
Are you sure a negative value doesn't work? Inside the .halfmoon li a rule, setting the right margin to "-7px" does the trick for me:


margin-right: -7px; /*distance between each tab*/

Tested in IE7 and FF2.x.

yacoubean
02-09-2007, 10:33 PM
Ah, it does indeed. I wasn't putting the 'px' in, silly me. Thanks! :)