Also, you can enclose the label/textbox in a DIV and set the alignment there.
>I think you can do this by putting the label in an HTML table, then set the Horizontal alignment for that cell to center.
>
>>Someone please tell me that it is possible to center align labels and textboxes in ASP.NET.
>>
>>I can't seem to find the easy way to center align a label or textbox. I don't mean formatting or alignment of multiple selections of controls to align centers etc. I want a label that will be centered in the same position no matter how long the text string. I would think a label would have an align property you can set to center, left or right.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only