【发布时间】:2014-12-10 11:33:21
【问题描述】:
我有一个使用引导程序构建的网站,我想使用 jquery.dragscroll 插件创建一个带有可滑动标题的表格,但保留流体网格内置引导程序。
所以我想创建表格的标题,我正在使用这个 HTML:
<div class="row-fluid">
<div class="span12">
<div style="overflow:hidden;width:90%;">
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
<div style="display:inline-block;width:100px">some content</div>
</div>
</div>
</div>
代码在这里:http://jsfiddle.net/cVfzJ/1/
正如我们在 Fiddle 中看到的那样,所有 div 都在两行上可见,我的目标是将所有 div 放在一行上(隐藏溢出的 div)
我希望问题很清楚
【问题讨论】:
标签: css twitter-bootstrap