Home › Forums › CSS › [solved] div doesn’t expand to fit contents › Re: [solved] div doesn’t expand to fit contents
July 9, 2009 at 3:41 pm
#60434
Member
Ok, I found the problem…
I’m using 960 framework with multiple containers, and inside each container I only use one grid full width.
As I have only one grid for each container I though I didn’t need any clear floats, but I was wrong, as each grid is floated…
So I just had to add <div class="clear"></div> after each <div class="grid_12">…</div> and now it’s working!