Home › Forums › CSS › Floated boxes creating gaps › Re: Floated boxes creating gaps
September 24, 2010 at 9:39 am
#79123
Bob
Member
Add this after the last box in the row:
with CSS code:
.class {
clear: both;
}
That should clear the floats, otherwise the last box will indeed jump down one line or so.. I don’t really know why, but it helps.
Edit: Read through this, it might have some important info about the floats and clearing floats, probably better the way I explained it. Actually, after quickly looking at that article, I’m not sure my solution is correct :P