None of the answers answer the original question.
The question is how to split a div into 2 columns using css.
All of the above answers actually insert 2 divs into one div to mimic 2 columns. This is a bad idea because you cannot pass content into 2 columns in any dynamic way.
So, instead of the above, use a single div that contains 2 columns using CSS as follows:
.two-column-div { column-count: 2; }
assign the above as a class to the div, and it will actually move its contents to 2 columns. You can go further and determine the gaps between the fields. Depending on the contents of the div, you may need to corrupt the word break values so that your content does not break up between columns.
Rodney P. Barbati Oct. 11 '17 at 22:14 2017-10-11 22:14
source share