I am facing an issue with aligning the columns of three different tables in one line. I have tried applying CSS styling, but the columns still appear misaligned. How can I ensure that the columns are properly arranged in a single line?
Below are my HTML/CSS codes:
.calculated-value td {
border: none;
}
div#time-div {
margin-left: -4%;
margin-right: -4%;
}
table.calculated-value tr td:first-child {
border: none;
}
table.calculated-value tbody tr td:first-child h4 {
font-weight: 300;
letter-spacing: 3px;
}
table.calculated-value tbody tr td:not(:first-child) {
font-weight: 600;
}
.calculated-value-title {
letter-spacing: 5px;
font-weight: 600 !important;
}
tr#time-row td {
background-color: #22356d;
width: 30px !important;
text-align: left;
}
tr#time-row td:first-child {
border-top-left-radius: 25px;
border-bottom-left-radius: 25px;
text-align: center;
}
tr#time-row td:last-child {
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
}
<div class="row">
<div class="col-md-9 offset-md-1" id="report-tables-container">
<h4 class="text-center text-white font-weigh-bold calculated-value-title">FAIR MARKET VALUE </h4>
<table class="table table-center text-white text-center calculated-value">
<tbody>
<tr>
<td>
<h4>INSTALLED</h4>
</td>
<td> 100
<br>$149,350</td>
<td> 100%
<br>$149,350</td>
<td> 100%
<br>$149,350</td>
</tr>
<tr>
<td>
<h4>EXCHANGE</h4>
</td>
<td> 100
<br>$149,350</td>
<td> 100%
<br>$149,350</td>
</tr>
</tbody>
</table>
<div id="time-div">
<table class="table table-center text-white text-center text-strong font-weight-bold calculated-value">
<tbody>
<tr id="time-row">
<td>TIME (MONTHS)</td>
<td> 0</td>
<td> 12</td>
<td> 24</td>
</tr>
</tbody>
</table>
</div>
<h4 class="text-center text-white font-weight-bold calculated-value-title">LIQUIDATION VALUE</h4>
<table class="table table-left text-white text-center calculated-value">
<tbody>
<tr>
<td>
<h4>ORDERLY</h4>
</td>
<td> 100
<br>$149,350</td>
<td> 100%
<br>$149,350</td>
</tr>
<tr>
<td>
<h4>FORCED</h4>
</td>
<td> 100
<br>$149,350</td>
<td> 100%
<br>$149,350</td>
<td> 100%
<br>$149,350</td>
</tr>
</tbody>
</table>
</div>
</div>
Refer to this image.