Sun*_*Sun 1 html asp.net-mvc css3 twitter-bootstrap
我正在使用MVC5和Bootstrap,我有以下代码生成标签和复选框.我想将复选框对齐它的div右侧.这是一个bootstrap类吗?或者我如何在CSS中执行此操作?
<div class="form-group">
@Html.LabelFor(model => model.Use_Address, htmlAttributes: new { @class = "control-label col-md-3" })
<div class="col-md-9">
<div class="checkbox">
@Html.CheckBoxFor(model => model.Site.Use_Address, new { id = "checkUseAddress" })
</div>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)