I am facing an issue with my layout that involves organizing 3 tables in a specific way. Two smaller tables are supposed to take up 3 bootstrap columns on the left side, while one larger table should occupy 9 columns on the right side. However, when I implemented the code, both smaller tables ended up appearing on the same row, while the bigger one displayed below them.
body {
padding: 3%;
}
<!DOCTYPE html>
<head>
<!-- bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div id="left-side-top" class="col-3">
<div class="table-responsive">
<table class="table table-striped table-hover table-fit">
<thead class='thead-dark'>
<tr>
<th>Left top</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="left-side-bottom" class="col-3">
<div class="table-responsive">
<table class="table table-striped table-hover table-fit">
<thead class='thead-dark'>
<tr>
<th>Left bottom</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="right-side" class="col-9">
<div class="table-responsive">
<table class="table table-striped table-hover table-fit">
<thead class='thead-dark'>
<tr>
<th>Longer table header</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="https://d3js.org/d3.v5.min.js"></script>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.5.0.min.js" crossorigin="anonymous"></script>
</body>
To fix this layout issue and achieve the desired display as shown in the image, adjustments need to be made using Bootstrap 4.5.