I'm wanting to align on the right a label
of bootstrap within a td
aligned to the left, the goal would be the following:
I'm not making it, try aligning span to the right of td as follows, but it does not work:
<td class = "text-left">
Texto de la tabla
<span class="label label-default text-right">0 - 1</span>
</td>
The code I use is the following:
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
<table class="table table-hover table-bordered">
<tr>
<td><a href="">Inter Milan</a></td>
<td class = "text-left">Texto de la tabla <span class="label label-default text-right">0 - 1</span></td>
<td><a href="">Lazzio Roma</a></td>
</tr>
<tr>
<td><a href="">Bayern Munich</a></td>
<td class = "text-left">Texto de la tabla <span class="label label-default text-right">3 - 3</span></td>
<td><a href="">Herta Berlin</a></td>
</tr>
</table>