I have the following html code:
<dl>
<dt>term1</dt><dd>defn1</dd>
<dt>term2</dt><dd>defn2</dd>
<dt>term3</dt><dd>defn3</dd>
</dl>
I try to make them swim in pairs (the same width), while all dtgo to the first line and everything ddto the second.
Like this:
term1 term2 term3
defn1 defn2 defn3
I tried all kinds of display combinations: block (+ floats / clears), inline-block, table- *, flex, but no one closed.
Any idea how this can be done?
source
share