【发布时间】:2017-02-01 20:46:15
【问题描述】:
我的引导表有问题。这种风格的引导表适用于宽屏幕,但是当我尝试查看这款平板电脑时,所有列都相互重叠。请帮帮我。
.table{
table-layout:fixed;
word-wrap:break-word;
}
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>Cbee ID</th>
<th>First Name</th>
<th>Last Name</th>
<th>Created On</th>
<th>Email</th>
<th>Facebook ID</th>
<th>LinkedIn ID</th>
<th>Owner Beevites</th>
<th>Attendee Beevites</th>
<th>Device ID</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>9818c9b8d07c1bb507a05c387d3b3d743725ad81cb93f1858d5143ccd1624bdf</td>
</tr>
</tbody>
</table>
</div>
【问题讨论】:
标签: twitter-bootstrap html-table