I'm currently working with a bootstrap table that looks like this
<table class="table table-bordered table-striped table-highlight">
<tbody>
<tr>
<td align="center" style="width:30%"><input type="text"
class="form-control" id="tag" name="tag"
placeholder="Enter Tag For The Change" maxlength='140'
> <input type="hidden"
class="form-control" id="userEmail" name="userEmail"
placeholder="Enter Tag For a Change" maxlength='140'></td>
</tr>
</tbody>
</table>
Even after setting the column width to 30%, the table still extends across the entire screen. I've also applied this CSS for the table
table {
table-layout: fixed;
word-wrap: break-word;
}
Can anyone suggest another method to achieve this?