Click to See Complete Forum and Search --> : Footer Not aligning at bootom in IE 7


lohumihem
12-02-2009, 12:39 PM
Hi Everyone!!

Its been a long time I m back here with my problem... well again i m stuck in IE, this time it is 7( I m deciding to avoid 6 or 6-)

Well My footer is not aligned to the Bottom in IE 7 , I m attaching code, please have a look and it will be gr8 if u can fix it, as i already had spent 1 full day but no solution so far.....


Thanks in advance
Regards,
LH

Kor
12-03-2009, 07:04 AM
Looks like a classical problem of clearing the float values. Where there are 2 or more divs which are floated, the next "unfloated" element, which should stay at the "bottom", or below the container needs, in IE, to get rid of the previous floating. There are several way to solve that problem, one of them is to insert an new, empty div, CSS cleared

<div id="container">
<div style="float:left">
<div style="float:left">
<div style="clear:both"></div>
</div>
<div id="footer">
</div>

Something like this. Check where you have the floated divs.