ASP.NET CellSpacing ÊôÐÔ

¶¨ÒåºÍÓ÷¨

CellSpacing ÊôÐÔÓÃÓÚ»ñÈ¡»òÉèÖà RadioButtonList Öбí¸ñµ¥Ôª¸ñÖ®¼äµÄÏñËØÊý¡£

×¢ÊÍ£º¸Ãº¯Êý½öÔÚ RepeatLayout ÊôÐÔÉèÖÃΪ "Table" ʱÓÐЧ£¨Ä¬ÈÏ£©¡£

Óï·¨

<asp:RadioButtonList CellSpacing="pixels" runat="server">
some content
</asp:RadioButtonList >
ÊôÐÔ ÃèÊö
pixels ¹æ¶¨±í¸ñµ¥Ôª¸ñÖ®¼äµÄÏñËØÊý¡£

ʵÀý

ÏÂÃæµÄÀý×ÓÉèÖÃÁË RadioButtonList ¿Ø¼þµÄ CellSpacing ÊôÐÔ£º

<form runat="server">
<asp:RadioButtonList id="rb1" runat="server" CellSpacing="15">

Some content

</asp:RadioButtonList>
</form>

ʵÀý

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