Results 1 to 4 of 4

Thread: accordion menu rid of gaps?

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default accordion menu rid of gaps?

    1) Script Title: Accordion Content script (v1.6)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-bullet.htm

    3) Describe problem: I'm using the Accordion script, great by the way, better than many libraries offer, and I need/want to get rid of the gaps between the menu headers. First, is there a way to do this? I searched through the CSS, .js files, and the init script and could not find where this could be changed. If it is doable I would really like to know how. Thanks for any help anyone can offer.

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

    Default

    This is definitely a CSS issue. Look inside the style pertaining to your menu on anything that may affect padding/margins. There is nothing within the script (.js file) itself that dynamically adds any spacing to the headers. Another thread a few days ago on the same issue: http://www.dynamicdrive.com/forums/s...ad.php?t=42417
    DD Admin

  3. #3
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    yes it is a css issue.
    you need to use margin and padding applied to menu headers.

  4. #4
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Actually, It was a problem in the CSS but..

    The problem was in the CSS but it was for the H3 items. There was an extra padding for the h3's that was causing all the problems. Thanks for all the help!

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
  •