Is there a way to output a list into x number of columns within a content div without specifying the exact amount of columns in CSS? I also want to include a heading at the top of each column:
Firstname Lastname State Firstname Lastname State Firstname Lastname State
Jon Smith NY Lisa Jones FL Rich Ford TX
Linda Steele TN Rick Perry VA Lee Linders OH
I have been able to use column-count for multi-columns, but ideally I would like it to flow into as many columns as will fit and add a header at the top. I think this might require some coding beyond CSS. Any alternative approaches or recommendations would be appreciated.
Thank you!