Styling inline definition lists

Hi,

Its not valid to put an hr between the dt and the dd as all content in a dl must be inside the dt or dd tags. That’s what makes a dl list quite awkward to work with.

You will need to give a width to the dt so that it lines up with following dt’s and then use calc to work out the remaining width.

Here’s a rough example:

1 Like