ASP.NET CheckBox TextAlign 属性

定义和用法
TextAlign 属性用于设置或返回 CheckBox 文本的对齐方式。
默认的对齐方式是 "right"。
语法
<asp:CheckBox TextAlign="left|right" runat="server" />
实例代码
下面的实例设置了 CheckBox 文本的对齐方式:
<form runat="server">
<asp:CheckBox id="check1" runat="server"
Text="Make it so" TextAlign="left" />
</form>
<asp:CheckBox id="check1" runat="server"
Text="Make it so" TextAlign="left" />
</form>
演示实例 »
