Shomaail
Shomaail

Reputation: 493

linebreak or new line in the text field of a label in ASP.net

How can I have line break in text of a label in ASP.net. is there a way in HTML 5 to resolve this issue

Upvotes: 0

Views: 873

Answers (1)

Shomaail
Shomaail

Reputation: 493

this can be achieved thru

<br />

<asp:Label ID="lblAdmin"  Visible='<%# IsAdmin %>' Font-Names="Time News Roman !important;"     runat="server" style="text-align: left"><br/>(Admin)</asp:Label>

it works perfectly as desired

Upvotes: 1

Related Questions