Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Label seems to be adding leading spaces to string

$
0
0

Hi folks,

When i put a piece of text in a label control, it seems like there is a misalignment of the first row of text only., i.e. if the text in the label overflows one line it looks like you have indented the first line: 

     

Overall Result

  One or more data items is invalid or missing.
Please check the validation messages beneath each data entry boxes, correct and recalculate.
One or more data items is invalid or missing. Please check the validation messages beneath each data entry boxes, correct and recalculate.

The label is just rendering as a span.  If i use a public var and just use <%=CalcMSG %> it aligns correctly as you can see above.

Is there a reason for this? 

Mike

 


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>