Please help with footer problem in IE 6+

Discussion in 'CSS' started by LiftBigEatBig, Jun 15, 2009.

  1. #1
    I've optimized my site for FF and have been going through and fixing the IE issues. Check out my homepage at http://www.howtobecomesomething.com/

    In FF everything looks great, but for some reason in IE my footer displays as soon as my sidebar is finished.

    Any ideas on how to fix it?

    Thanks!!!!!
     
    LiftBigEatBig, Jun 15, 2009 IP
  2. emed

    emed Peon

    Messages:
    70
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you forgot to close a div, search this in the footer.php file of your current wordpress theme:
    <div id="footer">
    <div style="float:left;margin-left:15px;">[ . . . some php code . . .]</div>
    <div style="float:right;margin-right:15px;">[ . . . some php code . . .]</div>
    <div style="clear: both;"></div>
    </div>
    <div style="clear: both;"></div>
    
    </div>
    Code (markup):
    change a few lines
    delete one <div style="clear: both;"></div> and the other put it first
    add </div at the end>
    <div style="clear: both;"></div>
    <div id="footer">
    <div style="float:left;margin-left:15px;">[ . . . some php . . .]</div>
    <div style="float:right;margin-right:15px;">[ . . . some php . . .]</div>
    </div>
    </div>
    </div>
    Code (markup):
     
    emed, Jun 15, 2009 IP
  3. LiftBigEatBig

    LiftBigEatBig Well-Known Member

    Messages:
    302
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    123
    #3
    ^^^You sir, are my hero! Worked like a charm.

    Thanks so much.
     
    LiftBigEatBig, Jun 16, 2009 IP