Results 1 to 3 of 3

Thread: Remove gap between tabs

  1. #1
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Remove gap between tabs

    1) Script Title: DD Tab Menu II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    margin-right: -7px; /*distance between each tab*/
    Tested in IE7 and FF2.x.

  3. #3
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah, it does indeed. I wasn't putting the 'px' in, silly me. Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •