This issue comes up a LOT, so here are some resources for understanding the whys and hows of properly clearing floats.
Quote:
|
When an element is floated, its parent no longer contains it because the float is removed from the flow. TO learn why this happens, read [Containing Floats by Eric Meyer] (highly recommended). Then, once you understand what is happening, use one of the methods below to "fix" it.
|
Clearing Floats - from CSS-Discuss wiki
More info on Float layouts:
Float Layouts - from CSS-Discuss wiki
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
|