In article <Qa******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
I have a floated container that is breaking out of it's containing
block. I don't remember the tricks to fix that (sorry Dorayme).
Jeff
Well, Jeff, perhaps you lost the link to my
<http://netweaver.com.au/floatHouse/>
In the face page, see sections 6, 7 and 8.
But, briefly (how I hate brevity):
Use overflow: hidden or overflow: auto on the parent container. But
safest probably is to stick in a non floated child with a style="clear:
both;" on it after the floats. That makes the parent sit up and listen
even for IE6. I say safest because I have seen occasional situations in
IE6 where the parent does not grow height naturally for its floated
children and it will not be forced to do so by overflow instructions. I
recall it was you who brought this to my attention once!
--
dorayme