首页 > 解决方案 > 数据表对齐行全宽

问题描述

我已经设置了一个引导数据表,但是我的搜索和分页输入没有像往常一样被拉到右边。你可以在这里看到这个:

在此处输入图像描述

你们能告诉我为什么以及如何导致此错误以及如何解决它吗?

这是我的桌子:

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap.min.css">

<div id="client_overview_table_div" class="table-responsive">
<table class="table table-striped table-bordered" id="client_overview_table">
<thead>
<tr>
    <th class="text-center"></th>
    <th class="text-center"></th>
    ...
</tr>
</thead>
<tbody>
    <tr class="item">
        <td>..</td>
        <td>..</td>
    </tr>
</tbody>
</table>
</div>

标签: jquerycsstwitter-bootstraptwitter-bootstrap-3datatables

解决方案


推荐阅读