How to wrap label text in


When there is lots chuck of text assign to label in It just scattered. To wrap it, you can set following property to get desired result. Following are the important property.

  1. Width
  2. Word-wrap
  3. Word-break
  4. display

This will definitely help you to get word wrap for label in label in converted to span by engine, so have a look on below image;

 HTML |  copy code |? 
<asp:Label ID="Label1" Width="313px" Style="word-break: break-all;" runat="server"

Leave a Comment

Your email address will not be published.