There seems to be an issue with styling <fieldset>
. In Google Chrome, the divs are adjusting to the content.
.table {
border: none;
border-collapse: collapse;
display: table;
margin: 0;
min-width: auto;
padding: 0;
table-layout: fixed;
width: 100%;
}
.cell {
background: #ccc;
border: 1px solid black;
display: table-cell;
height: 50px;
}
<fieldset class="table">
<div class="cell">1</div>
<div class="cell">2</div>
<div class="cell">3</div>
</fieldset>
But what I actually want is
.table {
border: none;
border-collapse: collapse;
display: table;
margin: 0;
min-width: auto;
padding: 0;
table-layout: fixed;
width: 100%;
}
.cell {
background: #ccc;
border: 1px solid black;
display: table-cell;
height: 50px;
}
<div class="table">
<div class="cell">1</div>
<div class="cell">2</div>
<div class="cell">3</div>
</div>
Any ideas on how to style <fieldset>
to achieve this desired look?