css display:table first column too wide
- by Mestore
I have a css table setup like this:
<div class='table'>
<div>
<span>name</span>
<span>details</span>
</div>
</div>
The css for the table is:
.table{
display:table;
width:100%;
}
.table div{
text-align:right;
display:table-row;
border-collapse: separate;
border-spacing: 0px;
}
.table…