Reputation: 1591
I have a bootstrap container and a boostrap table like this
<div class="container">
<table class="table">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>Doe</td>
<td>[email protected]</td>
</tr>
<tr>
<td>Mary</td>
<td>Moe</td>
<td>[email protected]</td>
</tr>
<tr>
<td>July</td>
<td>Dooley</td>
<td>[email protected]</td>
</tr>
</tbody>
</table>
</div>
I want to keep my container and no line breaks in my table. If I get one long row in my table it goes under my container (content to the right is hidden in my table). How can I make my table overlap my container to the right if there is lot of content in the table?
Upvotes: 0
Views: 72
Reputation:
It's kinda hard to help without the CSS but based off what I know, I'd try setting white-space: nowrap;
Upvotes: 1