I'm having trouble adjusting the width of a Bootstrap label using inline styles.
Here is my code:
<td><span class="label label-info" style="width:30px; text-align:center; background-color:#6d8cbf"> TEXT </span></td>
Unfortunately, the label does not appear to be taking on the width of 30px. Instead, it keeps resizing itself based on the length of the text.
If anyone has any advice or solutions, I would greatly appreciate it. Thank you!