0
我正在試圖對齊引導文本框控件和圖像對齊到center
,我不知道使用哪個css class
?控件和下拉列表後的引導圖像?
也引導下拉菜單也調整錯誤,當我第一次加載它顯示交叉後點擊它顯示正確的箭頭。但仍然在頂部。
@Html.LabelFor(model => model.Committee.Type, new { @class = "control-label"})
<div class="controls">
@Html.TextBoxFor(model => model.Committee.Type, new { @readonly = "readonly", @class = "input-xlarge" })
<a class="btn-link" href="#" rel="popover" data-title="Activity Type" data-content="Did we do a good job?" >
<img src="~/Content/glyphicons_195_circle_info.png" class="img-rounded" alt="Activity Type" /></a>
</div>
@Html.LabelFor(model => model.Role, new { @class = "control-label" })
<div class="controls">
@Html.DropDownList("Role",(SelectList)ViewBag.Roles , new { @class =input-xlarge" })
<img src="~/Content/glyphicons_195_circle_info.png" class="img-circle" alt="Activity Role" title="Activity Role"/>
@Html.ValidationMessageFor(model => model.Role)
</div>
JS
$('#Role').combobox();
檢查這個http://jsfiddle.net/ItsMeSri/FZZsu/1/ – James123