Given a definition list such as
<dl>
<dt>first term</dt>
<dd>first term definition</dd>
<dt>second term</dt>
<dd>second term definition</dd>
<dt>the third term</dt>
<dd>third term definition</dd>
</dl>
I would like each term and it's definition to behave like a block, i.e. the definition should appear alongside the corresponding term like so
first term first term definition
second term second term definition
the third term third term definition
One way to achieve this would be to wrap each <dt>
and <dd>
pair in a <div>
add add a rule
dt, dd {
display: inline
}
But ideally I'd like to achieve this without adding any additional elements.
I'd also like the definitions to be left-aligned (as shown above) no matter how long each of the terms are, i.e. without using something like margin-left: 50px
on the definitions.