I am developing a complex application and I need to use div
for representing some information; NO table
. My specific problem is when the box's information is organized, the content is separated.
This is my code:
#content {
white-space: nowrap;
}
#item1 {
width: 500px;
}
#item2,
#item3 {
width: 400px;
}
.item_ul {
list-style-type: none;
white-space: nowrap;
overflow-x: auto;
}
.item_li {
border: solid 1px black;
display: inline-block;
}
<div id="content" style="overflow:scroll">
<ul id="item_ul">
<li id="item1" class="item_li">
a
</li>
<li id="item2" class="item_li">
b
</li>
<li id="item3" class="item_li">
c
</li>
</ul>
</div>
I would like transform my representation as in the next image:
Thank you!