PDA

View Full Version : Accordion Script causing spacing issues in IE



smr618
05-30-2008, 04:30 AM
1) Script Title: Accordion Menu Script (v1.3)

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

3) Describe problem:

I am creating a website for a client via Dreamweaver, and there is an issue with IE 6 and 7 that I have been unable to resolve. It is expanding the entire menu upon loading the page, and only shows the collapsed menu. The problem is that it is creating a lot of extra white space, as if the menu wasn't collapsed at all. I noticed this after doing a preview via Dreamweaver, as it forces IE to ask permission to run the script and the additional spacing matches exactly to what the live page shows. The problem does not occur with FF or Safari.

I am probably overlooking something fairly simple, but its escaping me at the moment. Any ideas?

www.americanquickprint.com/laureltemp/index.html (http://www.americanquickprint.com/laureltemp/index.html)

Thanks!

ddadmin
05-30-2008, 07:08 AM
The problem doesn't look like it's related to the menu actually, but rather, just something funky with your layout in general causing the huge gap in IE. I can hide the entire menu, and the gap still exists:


<div class="arrowlistmenu" style="display:none">
"
"
</div>

I can't tell what's causing it though. It could be something as innocent as a tag you forgot to close, or something in your general CSS.

smr618
05-30-2008, 02:27 PM
Thanks for looking at it so quickly! I'll take another look at the non-menu code and see if i can track it down.