Forum Moderators: not2easy

Message Too Old, No Replies

positioning bug fixed after page reload

         

stef25

10:44 pm on Nov 29, 2004 (gmt 0)

10+ Year Member



im having troubles finding out what causes the following bug, in IE and FF. #footer sits inside #content

about half the times that my page loads #footer ends up half way up the page. when i reload the page, it drops back down to its place at the bottom of the page.

body and #content have no height specified. its filled with floated divs inside a #wrapper with specified height. #footer sits below this absolutely positioned

based on the fact that the problem is solved on reload, does anyone know what causes this?

thx
S

BonRouge

11:49 pm on Nov 29, 2004 (gmt 0)

10+ Year Member



You might need a clearer div just above your footer - something like this :

css

.clearer {
height:1px;
margin-top:-1px;
clear:both;
}

HTML

<div class="clearer"></div>