Remember:
Imagine the behavior on the screen of those elements: <div> with style float: left; height: 100px; width: 100px when there is more then 100 on the screen. When you resize your window to the low width: divs will being pushed down
Example
http://1lj.net/ex2.html
What I need:
I need the child divs to act like the linked example, the problem is that they are in a fixed width container. eg. <div class=container style="width:800px">
How to get this behaviour?
sorry for my english, its really hard to write on not native language.
You need two containers. One container is for the max width, the other is to hold the boxes.
CSS:
HTML: