IE6 - Sidebar pushed to bottom

Discussion in 'CSS' started by Zhu, May 5, 2009.

  1. #1
    Hi,

    I need a bit of help!

    My website (Correr Es Mi Destino) displays fine in various browser but with IE6, the sidebar is pushed to the bottom.

    I did some research and apparently, it's because "IE6 doubles float margins". The common solution seems to be adding {display: inline;} to the #content and #sidebar.

    However, when I try that fix, it messes up my sidebar even more!

    Any idea?

    I'm not a coder but I'm willing to try to understand what's going on ;)

    Thank you very much!
     
    Zhu, May 5, 2009 IP
  2. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #2
    I was able to pinpoint the problem a bit more: apparently, this is due to the Flickr Gallery plugin.

    When I deactivate it, sidebar is back to normal.

    I still want to try to solve the problem, is anyone has a clue!
     
    Zhu, May 5, 2009 IP
  3. Caden Grant

    Caden Grant Active Member

    Messages:
    294
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    In Internet Explorer, when you have two divs next to eachother, for example, content and a sidebar, it will push the sidebar below the content if you have a set width for them to fit in, and there's too much space being used.

    So say you have a container thats width is 950px, and the content section is 700, and the sidebar is 250, but the Flickr Gallery Plugin is bigger than 250px, that will be more than 250px and Internet Explorer pushes it to the bottom. Try making the width of the plugin smaller or something.
     
    Caden Grant, May 6, 2009 IP
  4. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Thank you for your reply.

    It makes sense!

    The only problem is, the Flickr Gallery plugin is on a page with no sidebar, so it display fine and fits the page. But the rest of the blog still has the sidebar pushed to the bottom.
     
    Zhu, May 7, 2009 IP
  5. normalfx

    normalfx Peon

    Messages:
    111
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The problem solved. It's good to working with you ;)
     
    normalfx, May 11, 2009 IP