Basically, I want the inner divs outside the outer div to wrap around the width of the outer div, which in turn expands and contracts to fit the width of the browser window, for example:
.---------------------. | | <-- Browser Window | .-----------------. | | | ,-, ,-, ,-, | | | | |X| |X| |X| | | | | `-` `-` `-` | | | | | | | | ,-, ,-, ,-, | | | | |X| |X| |X| | | | | `-` `-` `-` | | | `-----------------` | | | `---------------------` .-------------------------------. | | <-- Browser Window enlarged | .---------------------------. | | | ,-, ,-, ,-, ,-, ,-, | | | | |X| |X| |X| |X| |X| <----- Inner divs wrap around accordingly, as if | | `-` `-` `-` `-` `-` | | they are text | | | | | | ,-, | | | | |X| | | | | `-` | | | `---------------------------` | | | `-------------------------------`
What would be the best (as in the simplest in terms of developer time) way to do this?
source share