Centering text
-
Is there any way to center or justify text that is in a text box on an ASP.NET web page? I don't see alignment as a property of the actual control so is there some way that I can add this functionality? If I can't add it, then is there some way to exit the HTML to change the justification for me? Thanks
-
Is there any way to center or justify text that is in a text box on an ASP.NET web page? I don't see alignment as a property of the actual control so is there some way that I can add this functionality? If I can't add it, then is there some way to exit the HTML to change the justification for me? Thanks
-
Is there any way to center or justify text that is in a text box on an ASP.NET web page? I don't see alignment as a property of the actual control so is there some way that I can add this functionality? If I can't add it, then is there some way to exit the HTML to change the justification for me? Thanks
-
Hi there, You simply set the
text-align
attribute of thestyle
to center:style="text-align:center"
For more information, see text-align Attribute | textAlign Property[^]
Thank you 1000x I knew it would be something so simple as to make me feel like a twit! Thanks again.