I've been struggling to align my table header and content properly, as shown in the image. I want the header aligned to the right while keeping the rest of the content aligned to the left of the header. Is there a way to achieve this using only CSS without manually setting offsets?
<table class="table">
<thead>
<tr class="text-uppercase">
<th>
<h4>BlaBla</h4>
</th>
<th class="text-right">
<h4>BlaBlaBlaBlaBlaBlaBlaBla</h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>Table cell</td>
<td class="text-right">Table cell</td>
</tr>
<tr>
<td>Table cell</td>
<td class="text-left">Table cell</td>
</tr>
<tr>
<td>Table cell</td>
<td><span style="position:relative; color: red; left: 185px;">Desired</span>
</td>
</tr>
</tbody>
</table>