<div class="row">
<div class="col-md-8">
<h3 data-toggle="collapse" data-target="#collapseList" aria-expanded="false" aria-controls="collapseList"> 1 Lecturer List</h3>
<table class="table table-bordered collapse" id="collapseList">
<thead>
<tr>
<th>List Id</th>
<th>List Name</th>
<th>Total Subscribers</th>
<th>Action</th>
<th>Problems</th>
</tr>
</thead>
<tr>
<td>a</td>
<td>abcdefg</td>
<td>a</td>
<td>Synchronize</td>
<td>NOK</td>
</tr>
</table>
</div>
</div>
這是我當我點擊標題標籤,它1此時出現第二種:
並經過1秒,這是我有什麼:
爲什麼我的表格在摺疊後調整大小?有沒有辦法調整表格的大小?
UPDATE:
這裏有一個的jsfiddle,你可以試試,看看自己,有一個問題https://jsfiddle.net/0zw5a845/
你有任何崩潰的JS代碼? – Badiparmagi
不,我沒有在這個頁面上的JavaScript – Didi
請給我們提供一個MVCE的例子,但我的猜測是,你的潛水是由於你有一個col-md-8而不是col-md-12的事實。 –