3
I would like to organize my Ivs in column form, but not side by side, but rather on top of each other. Usually when using float: left
or display: inline-block
the elements are placed side by side up to the size limit, and then a new line is created, example:
|DIV 1| |DIV 2| |DIV 3|
|DIV 4| |DIV 5| |DIV 6|
|DIV 6| |DIV 7| |DIV 8|
But I’d like them to stay that way:
|DIV 1| |DIV 4| |DIV 7|
|DIV 2| |DIV 5| |DIV 8|
|DIV 3| |DIV 6| |DIV 9|
I don’t want to have to create different columns and put each div there, I want them to organize themselves this way, as I can do?
always 3 columns?
– Sam
or more, it depends on the amount of elements that will be created dynamically, but for the purpose of response if necessary, yes it can assume that there are 3
– Leo Letto