Results 1 to 3 of 3

Thread: layout trouble in IE?

  1. #1
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default layout trouble in IE?

    Okay, I'm making a premade layout for websites however the sidebar isn't showing up in IE. Its showing up in Mozilla but not in IE. Now i used the same exact code from my website which is here and the layout is here. The side bar on my website works in both Mozilla and IE. However, in the layout im making (second link) it only shows up in Mozilla. Anyone know why?

  2. #2
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default

    i fixed it but it was the fact that the div's class was set to .content. which was weird and idk why it was happening

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In IE the implied document.all collection can sometimes misinterpret things, confusing element classes, names, and ids, and can also be thrown off by undeclared global variable names. In some extreme cases I've even seen things like:

    id="Cont"

    and:

    class="content"

    get messed up in IE. They're not even the same word or case, but nonetheless the get conflated somehow. This will not always happen though, but if you do get weird results in IE, it is something to check for, and it's best to use more unique names for things to begin with whenever possible, as well as to make sure that any script code does not contain undeclared global variable names.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •