A div height being completely random
March 23, 2007
I struggled for like 8 hours with this issue. I had three columns defined as divs on a page. At every 10th or so refresh, the footer div of the page jumped up and cut off the content of the column divs. And this only happened in IE7. Really weird.
Then a friend of mine suggested I add a clear div after the three columns. I did just that, adding an empty div referring to as css class named “clear” which used clear: both, margin and padding 0 everywhere. And it worked!