cssgrid-ama
cssgrid-ama copied to clipboard
2 column automatically filled following the number of items
Hi, I'm sorry, I'm French and it's not easy to know how to explain my question. I wish to create a table with 2 column. Items are order by name(1, 2, 3, 4, 5, ...) If there are 2 items, the first one is in the left column and the second in the right column. If there are 3 items : 1 and 2 are in the left column and the last in the right column. If 4 items : 1 and 2 in the left, 3 and 4 in the right column. If 5 : 1, 2 and 3 in the left, 4 and 5 in the right If 6 : 1, 2, 3, 4 in the left column, 5 and 6 in the right. If the number of items is an even number : there are the same number of row at the left and the right. If it's an odd number : the number of items is greater (+1) at the left than the right like that : 1 5 2 6 3 7 4
The rows have to be automatically added following the items number (can be different by table)
Is it possible ? Thanks a lot !!
@sirius82 It seems to me you should just use