【发布时间】:2014-03-10 15:20:45
【问题描述】:
好的,我正在尝试使用输入字段制作表格。要设置每个字段的大小,我知道我必须在标题中设置 col-size。
<thead>
<tr>
<th class="col-sm-2">Large</th>
<th class="col-sm-2">Large</th>
<th class="col-sm-1">Small</th>
<th class="col-sm-2">Large</th>
<th class="col-sm-1">Small</th>
<th class="col-sm-2">Large</th>
<th class="col-sm-2">Large</th>
</tr>
</thead>
但是,输入扩展到它们的最大宽度,而不考虑 col-size。
这可能是对 Bootstrap 的不当使用,但我认为它是带有上述标题的内联输入的最佳选择。
另外,假设我希望这个特定的网格有 18 列而不是默认的 12 列,这可能只是在这种特殊情况下吗?
【问题讨论】:
标签: html css twitter-bootstrap twitter-bootstrap-3