ASP.NET CellPadding ÊôÐÔ

¶¨ÒåºÍÓ÷¨

CellPadding ÊôÐÔÓÃÓÚÉèÖûò·µ»Øµ¥Ôª¸ñ±ß¿òÓëÄÚÈÝÖ®¼äµÄÏñËØÊý¡£

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

Óï·¨

<asp:RadioButtonList CellPadding="pixels" runat="server">
some content
</asp:RadioButtonList >
ÊôÐÔ ÃèÊö
pixels ¹æ¶¨µ¥Ôª¸ñ±ß¿òÓëÄÚÈÝÖ®¼äµÄÏñËØÊý¡£

ʵÀý

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

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

Some content

</asp:RadioButtonList>
</form>

ʵÀý

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