Can anyone help me with a solution to split a list similar to the following into multiple columns without breaking it into separate definition lists?
<dl>
<dt>Title of Column 1</dt>
<dd>data for col 1</dd>
<dd>data for col 1</dd>
<dt>Title of Column 2</dt>
<dd>data for col 2</dd>
<dt>Title of Column 3</dt>
<dt>Title of Column 4</dt>
</dl>
The challenge is that there may or may not be dd elements, making it difficult to predict the exact number of items. I considered using nth-child, but that would require knowing the quantity in advance. Is there an alternative approach to achieve this?
Your suggestions are greatly appreciated.