Results 1 to 3 of 3

Thread: ddAccordion Glossymenu Script

  1. #1
    Join Date
    Jun 2009
    Posts
    52
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default 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

  2. #2
    Join Date
    Jun 2009
    Posts
    52
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default 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.

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

    Default

    Thanks for sharing that, I'm sure it'll benefit some other people down the line.
    DD Admin

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
  •