Looking to creatively style a description list <dl>
in a way that showcases two columns, even when there are multiple <dd>
s following the <dt>
. The challenge lies in wanting this design to be dynamic without resorting to floating the <dt>
and adding margins to the <dd>
s.
<dl>
<dd>Term A</dd>
<dt>Definition A1</dt>
<dt>Definition A2</dt>
<dd>Term B</dd>
<dt>Definition B1</dt>
</dl>
While the usual approach might involve leveraging solutions for creating equal height columns, the absence of a container element in this context has presented an interesting challenge. Any innovative ideas?
Check out the updated version on Fiddle