我对表头使用了下面的代码,问题是标头没有对齐。
<th>
<span class="control-label operation-l">@Html.DisplayNameFor(model => model.ElementAt(0).Url) </span>
</th>
<th>
@Html.Label("User", new { @class = "control-label operation-l" })
</th> 用户文本略高于URL文本,我应该如何将Url文本向上移动?
我试着用风格的style="margin-top: 5px",这是不起作用的.知道吗?
发布于 2014-07-01 09:38:17
请使用style="line-height:30px"不要使用页边距顶部: 5px
https://stackoverflow.com/questions/24506846
复制相似问题