I need assistance aligning my content in the following format:
┌────┬─────────────────────────────────┐
│ No │ Some possible long content │
│ ├─────────────────────────────────┤
│ │ Not so long stuff │
└────┴─────────────────────────────────┘
I am considering using divs instead of tables to achieve this layout. It is not tabular data, just a way to present a counter, a title, and a subtitle:
<div id="container">
<div class="div1">No</div>
<div class="div2">Some possible long content</div>
<div class="div3">Not so long stuff</div>
</div>
The width of 1
is fixed, while its height should be the combined height of 2
and 3
. 3
will always be one line, but 2
can be multiple lines.
Any guidance on how to achieve this layout would be greatly appreciated.