Say I have a list of spans that's an alphabetical list. Normally with html, if I create a bunch of them, say display:inline-block, they'll show up like so:
+------+------+------+
| a | b | c |
+------+------+------+
| d | e | f |
+------+ +------+
| g |------+
+------+
And will go as wide as the page will allow.
How can I instead have a fixed height, and have then stack down till it fills up, then go to the next column like so:
+------+------+------+
| a | d | f |
+------+------+------+
| b | e | g |
+------+ +------+
| c |------+
+------+
Where each of those squares is a containing element.
It's a limited example, I don't want it to be 3 high in particular, I wan't it to fill whatever vertical space it's given, then go on to the next column.