[英]Vertical alignment text and DropDownList
这是我的文字和DropDownList:
<h3>this is test: @Html.DropDownList("File", new SelectList(ViewBag.Files), "Select...", new { style = "vertical-align:middle;" })</h3>
我希望它变得对齐
<h3>this is test: @Html.DropDownList("File", new SelectList(ViewBag.Files), "Select...", new { style = "vertical-align:middle;"})</h3>
检查此: http : //jsfiddle.net/cuK36/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.