Centering on a Label Web Control in ASP.NET from the IDE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am adding a Label server control to an ASPX page using the .NET IDE. I
can't
figure out how to center it automatically. I know you can do it by editing
the html and making it:

<asp:Label id="Label1" style="TEXT-ALIGN: center"
runat="server">Label</asp:Label>

Is it possible to do this from the Properties?

Thanks in advance,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top