ASP.NET TextAlign ÊôÐÔ

¶¨ÒåºÍÓ÷¨

TextAlign ÊôÐÔÓÃÓÚ»ñÈ¡»òÉèÖà RadioButtonList ÏîÄ¿µÄÎı¾µÄÎı¾¶ÔÆë·½Ê½¡£

Óï·¨

<asp:RadioButtonList TextAlign="align" runat="server">
some content
</asp:RadioButtonList >
ÊôÐÔ ÃèÊö
align

¹æ¶¨ÁбíÏîµÄÎı¾¶ÔÆë·½Ê½¡£

¿ÉÄܵÄÖµ£º

  • Left
  • Right £¨Ä¬ÈÏ£©

ʵÀý

ÏÂÃæµÄÀý×Ó°Ñ RadioButtonList ¿Ø¼þÖÐµÄ TextAlign ÉèÖÃΪ "Left"£º

<form runat="server">
<asp:RadioButtonList id="rb1" runat="server" TextAlign="Left">

Some content

</asp:RadioButtonList>
</form>

ʵÀý

ÉèÖà RadioButtonList ¿Ø¼þµÄ TextAlign ÊôÐÔ