-
ddAccordion Glossymenu Script
1) Script Title: ddAccordion.js
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ordionmenu.htm
3) Describe problem: Please see post in CSS forum describing problem. http://www.dynamicdrive.com/forums/s...ad.php?t=62102
-
-
Problem Solved
VICTORY! It was Yahoo! JavaScript being above the HEAD tags. That threw all versions of IE into quirks mode. In quirks mode, emulating IE 5.5 with all its proprietary weirdness, IE "thinks" elements should inherit the styles of elements above them in the document flow whether they are in a position to inherit or not. And so the little + image, even though it was absolute positioned, was inheriting the 24 pixels of left padding in the containing A tag. Simply adding the zoomfix cured it, forcing the IMG tag to be treated by IE as hasLayout. I gave the image a zoom: 1; in the CSS, which means nothing in any real browser as of today, but tells IE to take that element out of quirks mode and put it where the heck the CSS says it goes.
Sheesh. Trapped between Microsoft and Yahoo! with both giants both insisting on ignoring standards and letting us poor mushrooms adapt -- no wonder my brain was melting.
-
-
Thanks for sharing that, I'm sure it'll benefit some other people down the line.
DD Admin
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks