I'm trying to get away from using tables for formatting whenever possible.
In a table, if a cell in my second column needs to wrap it will only wrap within that cell. When I try to use a list (dl) the 'second column' (dd) wraps under the entire line.
dt {
display: block;
float: left;
text-align: right;
color: black;
width: 150px;
}
dt::after {
content: ":";
padding-left: .5em;
padding-right: .5em;
}
dd {
display: block;
color: blue;
}
<dl>
<dt>System Type</dt>
<dd>My System Type</dd>
<dt>Manufacturer</dt>
<dd>Very very very very very long second column</dd>
</dl>
Screenshot of output: