...

View Full Version : CSS Accordion issue with IE



pennella
07-26-2011, 04:48 PM
Hi everyone.
I'm having an issue with an accordion navigation.
In Chrome, Firefox, and Safari it aligns fine but in IE it is offset to the right about 10-15 pixels. I have no idea why.

See it here: www.isomham.com/test

This may be a javascipt issue. But i doubt it since I haven't touched the javascript and it was working fine. I dont know what I changed that would have done this.

Sammy12
07-26-2011, 05:53 PM
ie9, fine
i see ie7, it is offset
ie8, it appears that the javascript is not working

do you know about resetting tags?



* { margin: 0; padding: 0; }


I would assume its a default margin on the ul or li. yeah i put margin: 0; into the ul and it seemed to work fine in ie7. ie8, java is not working

pennella
07-26-2011, 08:32 PM
awesome. thanks for the reply. I also posted this question into the javascript forums.

Any ideas on getting javascript to work in that version of IE?

Sammy12
07-26-2011, 09:15 PM
does setting margins to 0 solve the problem for the space?

vikram1vicky
07-27-2011, 01:34 PM
Simple answer is use jQuery accordions.. it is cross browser compatible....

I have used them many times. Here is the link http://docs.jquery.com/UI/Accordion

:)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum