The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS layout problem! Reply To: CSS layout problem!


My understanding is the each container can only hold grids totalling 12 (in your case) so unless you clear the float after the number reaches 12 (by way of the .clear class) this will happen.

As I said, it been a while since I used 960gs (there are better and more responsive) but I tended to create a container_12 for each ‘row’ of grids totalling 12.

You do not have to do this (apparently) but if, after the number 12 is reached you add a clear class to the next div (in your case the first grid-3) the problem solves itself.

Creating a row that will never exceed 12 is the easiest way.

I’m not sure what you reference to a ‘header’ is.