View Full Version : Accordion Menu item spacing

11-16-2009, 01:43 PM
1) Script Title: Accordion Menu 1.7

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm

3) Describe problem:
I have spaced my menu and submenu items with a margin-bottom in the
glossymenu a.menuitem and glossymenu div.submenu ul li - css entries.
This displays fine initially and works on expanding the submenus, but when a submenu is subsequently collapsed it loses my margin-bottom spacing bunching up the items (as per the DD's original script layout).
Can anyone help?

11-16-2009, 02:51 PM
A fix thats suits me unless anyone has a better idea?

All I've done is slip a <p>&nbsp;</p> after each menuitem ('p' style set to height / spacing required)
I've left the margin-bottom in the submenu item css as it is not affected by the dynamics.
Simple huh?
Too busy lost in the script and css to spot the simple solution!

11-17-2009, 06:40 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.