I am trying to achieve a layout in which input fields appear in a column. When the column exceeds the height of its container, it must wrap horizontally.
I have achieved this layout using flexbox, but flexbox (and more specifically the flex-wrap
property) isn't widely enough supported. In my case, I need to support modern web browsers and at least IE9+
Additionally, the form content is generated by Ember.js along the lines of this method. The model that is bound to the form changes, which means the number of input fields is dynamic.
How can I achieve this layout more compatibly?