ASP.NET TextAlign Attribute
Definition and Usage
The TextAlign property is used to set or return the alignment of the checkbox text.
The default alignment is "right".
Syntax
<asp:CheckBox TextAlign="left|right" runat="server" />
Example
The following example sets the alignment of checkbox text:
<form runat="server"> <asp:CheckBox id="check1" runat="server"> Text="Make it so" TextAlign="left" /> </form>
Example
- Set the alignment of checkbox text