I'm having trouble centering a table vertically in a div. I've tried using vertical-align but it's not working for me. Can anyone suggest a solution to place it at the top of the div?
<div class="col-12 d-flex">
<div class="col-6 text-center default_color" style="padding-top: 5rem;">
<div class="row ">
<div class="col-12 " *ngIf="!incompleteDataForTables">
<b style="color:var(--select-bg-color)">Variación entre semanas sites </b>
<div class="col-12" style="vertical-align: middle">
<div class="table-responsive m-2 p-1 " style="overflow-y: scroll; height: 100%;vertical-
align: middle">
<table id="data_week_comp_3500" style="vertical-align: middle">
</table>
</div>
</div>
</div>
</div>
</div>