Looking for some help with organizing a list where each item needs to be divided into two sections, and the first section should have a fixed width. Any suggestions on how to code this?
I initially attempted using definition lists:
<dl>
<dt style="width: 2em;">foo</dt><dd>bar</dd>
...
</dl>
... as well as unordered lists with spans:
<ul>
<li><span style="width: 2em;">foo<span>bar</li>
...
</ul>
However, neither of these methods seemed to work. Are there any established ways or best practices for achieving this layout?