Having trouble aligning my two columns side by side. Despite my efforts, the second column (col-11) keeps appearing below col-1. The image inside col-1 should be on the far left with the other column right next to it.
<div class="container col-md-12 wm-body">
<div class="row" style="margin: 0px;">
<div class="col-md-12" style="padding-left: 0px;">
<div class="container-fluid" style="padding: 0;">
<div class="row wm-card" style="margin: 15px 0 0 0; padding: 0px;">
<div class="col-md-1">
<img src="../../../assets/img/trip.svg" class="icon">
</div>
<div class="col-md-11">
<table *ngIf="trip" class="table-sm wm-table-drive-orders" style="width: 60%;">
<div>
<tbody class="col-md-12">
<tr *ngIf="firstNode">
<td style="padding-bottom: 0px;">
<b>Datum</b>
</td>
<td style="padding-bottom: 0px;">
<p>{{ tripHelper.getActualTimeStringFromNode(firstNode) }}</p>
</td>
<td style="padding-bottom: 0px;">
<i class="fa" aria-hidden="true" [ngClass]="tripHelper.getState(firstNode)" [ngStyle]="{'color':
tripHelper.getState(firstNode, true)}"></i>
</td>
<td style="padding-bottom: 0px;">
<p>{{ geographyHelper.getAddressString(trip.addresses[0]) }}, {{ geographyHelper.getPostalAreaString(trip.addresses[0])}}
</p>
</td>
<td style="padding-bottom: 0px;">
<b>Tidskrav</b>
</td>
<td style="padding-bottom: 0px;">
<b>Status</b>
</td>
</tr>
</tbody>
</div>
</table>
<table>
<tbody class="col-md-12">
<tr *ngIf="lastNode">
<td style="padding-top: 0px;">
<p>{{tripHelper.getDateString(trip)}}</p>
</td>
<td style="padding-top: 0px;">
<i class="fa" aria-hidden="true" [ngClass]="tripHelper.getState(lastNode)" [ngStyle]="{'color':
tripHelper.getState(lastNode, true)}"></i>
</td>
<td style="padding-top: 0px;">
<p>{{ geographyHelper.getAddressString(trip.addresses[1]) }}, {{ geographyHelper.getPostalAreaString(trip.addresses[1])}}
</p>
</td>
<td style="padding-top: 0px;">
<p>-</p>
</td>
<td style="padding-top: 0px;">
<p>{{tripHelper.getStateString(trip)}}</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
The issue might be due to having tables inside the div structure. It's a bit unclear at this point.