Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    90
    Thanks
    24
    Thanked 2 Times in 2 Posts

    CSS Accordion issue with IE

    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.

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    ie9, fine
    i see ie7, it is offset
    ie8, it appears that the javascript is not working

    do you know about resetting tags?

    Code:
    * { 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
    Last edited by Sammy12; 07-26-2011 at 07:05 PM.

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    90
    Thanks
    24
    Thanked 2 Times in 2 Posts
    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?

  • #4
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    does setting margins to 0 solve the problem for the space?
    Last edited by Sammy12; 07-26-2011 at 10:19 PM.

  • #5
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    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



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •