|
You ALWAYS need to clear floats, by some method. There are various methods, and it really depends on your layout which one(s) are best. The gap problem happens when you use a div or <br> as a clearing element. In that case, it's better to use overflow:auto on the parent container to clear the floats. An alternative, depending on the layout, is to float the parent container, which automatically clears floats inside it.
__________________
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
Last edited by LadynRed; 06-10-2009 at 12:34 PM..
|