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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|