Dynamic rows of divs (boxes) using CSS?

I have a variable number of boxes and I'd like to display as many as I can without forcing the viewer to scroll horizontally, there should also be a certain space in between them. This means that the boxes will have to move to the next or previous "row" if the browser is resized.

How do I achieve this using divs and CSS?

Thanks in advance :-)

P.S: Enjoy my fine art skills:

alt text

8
задан Garis M Suero 11 September 2010 в 16:11
поделиться