ETpro
04-27-2011, 03:00 AM
I'm trying to get an accordion menu script to behave. It's the http://www.dynamicdrive.com/dynamici...ordionmenu.htm menu. I have used if before, on http://www.borderstogo.com/ and it behaves just fine in IE as well as real browsers. Here it is in IE.
http://lib.store.yahoo.net/lib/greatgolf/borderstogo-ie.gif
I have stared and stared at the CSS, and as far as I can see, all the controlling styles are the same on the test page as they are on BordersToGo.com above. But on http://www.greatgolfdeals.com/test-features.html it looks just as it should in Firefox and Chrome. However, In buggy IE the little + and - boxes that control the accordion effect seem to be inheriting the padding of the text to their right. This even though they are position: absolute. Below is the menu on the left in Chrome and to the right IE.
http://lib.store.yahoo.net/lib/greatgolf/greatgolf-chrome.gif http://lib.store.yahoo.net/lib/greatgolf/greatgolf-ie.gif
Can anybody see what's different in the HTML or CSS that's making this not work.Is it the DTD? BordersToGo is uses HTMLL 1.0 strict. while GreatGolfDealsuses HTML 4.01 transitional. Please note, becaause these are both Yahoo Stores of different vintage, it is not possible for me to simply change the DTD. I'm stuck with finding a way to make what I've got work..
http://lib.store.yahoo.net/lib/greatgolf/borderstogo-ie.gif
I have stared and stared at the CSS, and as far as I can see, all the controlling styles are the same on the test page as they are on BordersToGo.com above. But on http://www.greatgolfdeals.com/test-features.html it looks just as it should in Firefox and Chrome. However, In buggy IE the little + and - boxes that control the accordion effect seem to be inheriting the padding of the text to their right. This even though they are position: absolute. Below is the menu on the left in Chrome and to the right IE.
http://lib.store.yahoo.net/lib/greatgolf/greatgolf-chrome.gif http://lib.store.yahoo.net/lib/greatgolf/greatgolf-ie.gif
Can anybody see what's different in the HTML or CSS that's making this not work.Is it the DTD? BordersToGo is uses HTMLL 1.0 strict. while GreatGolfDealsuses HTML 4.01 transitional. Please note, becaause these are both Yahoo Stores of different vintage, it is not possible for me to simply change the DTD. I'm stuck with finding a way to make what I've got work..