Welcome to WebmasterWorld Guest from 3.227.249.234

Forum Moderators: not2easy

Message Too Old, No Replies

positioning bug fixed after page reload

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

Preferred Member

10+ Year Member

joined:May 4, 2004
posts:394
votes: 0


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

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

Junior Member

10+ Year Member

joined:Oct 14, 2004
posts:195
votes: 0


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>