【发布时间】:2015-03-08 02:15:28
【问题描述】:
我有以下代码:
<div class=checkbox>
<label><input type="checkbox" id="foo">My Label</label>
</div>
<div class=checkbox>
<label><input type="checkbox" id="bar">Another Longer</label>
</div>
<div class=checkbox>
<label><input type="checkbox" id="baz">Less than lng</label>
</div>
这将在引导程序 3 中呈现,标签位于右侧。这通常很好,但我需要它位于右侧,左侧有复选框。
所以它看起来像下面,标签也应该是右对齐的。
My Label []
Another longer []
Less than lng []
【问题讨论】:
标签: jquery html twitter-bootstrap checkbox twitter-bootstrap-3