07_05_GuyT
07_05_GuyT

Reputation: 2887

text in table header is not aligned

I'm using the following code for table header and the problem is that the header is not aligned.

<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> 

The User text is little bit upper than the URL text,how should I move the Url text little bit up?

I try with style style style="margin-top: 5px" which is not working... any idea?

Upvotes: 0

Views: 54

Answers (1)

codeee
codeee

Reputation: 397

Please use style="line-height:30px" don't use margin-top: 5px

Upvotes: 1

Related Questions