FNE clearing method
With the impending arrival of IE7 I have been researching the best way to clear floats without extra markup (most existing "hacks" don't work in IE7). I thought I had the answer but there were limitations. One method didn't work in IE5 and the other stopped your stylesheet from validating. Now I've stumbled upon another method, incredibly simple and, so far, faultless. If you have a container that must fully enclose its floated children, simply float it too! It's called the Float (Nearly) Everything method - genius!
21 August 2006