cshtml表单。如您所见,下拉框未与相应的标签正确对齐。如何更改定位?下拉列表的代码是:
<div class="form-group">
@Html.Label("For which system do you require a password reset?", new { @class = "control-label col-md-2" })
<div class="col-md-10">
<div class="editor-field">
<select id="SystemName" name="SystemName">
<option value="Citrix">Citrix Desktop</option>
<option value="MOL">Manager Online</option>
</select>
</div>
</div>
答案 0 :(得分:0)
解决。我在col-md-2 css中添加了10px的填充