我将表格响应类添加到表格的包装器 div 中,它在除 Firefox for mobile(至少是 android)和 scroller 之外的所有浏览器中都可以正常工作没有显示任何想法?
附注我在网站上访问了其他问题,但我的表是没有字段集或其他问题中提到的其他内容的普通表。
这是我的代码:
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>foo</th>
<th>foo</th>
<th>foo</th>
<th>foo</th>
<th>foo</th>
<th>foo</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span>foo</span>
till
<br>
<span>foo</span>
</td>
<td>200</td>
<td>50%</td>
<td>100</td>
<td>100</td>
<td>
<a
style="min-width: 78px; display: inline-block;"
href="#"
class="addticket-modalrun btn btn-success btn-xs"
data-toggle="modal"
data-price="100"
data-stock="100"
data-priceformat="100"
data-ticketid="11"
data-target="#addToCartModal">
foo
</a>
</td>
</tr>
</tbody>
</table>
</div>
最佳答案
@Mohsenkw 你可以 jsfiddle 你的代码并将链接发送到这里吗? 我可能会修复它。
谢谢 :)
关于html - bootstrap table-responsive 不适用于 firefox mobile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36972565/