如何使用数据值字段设置 ASPX 径向按钮的样式



我有这段代码,但我无法设置它的样式,我想将填充向右移动至少 15PX。

<td >
<asp:RadioButtonList ID="rdoFrequency" runat="server" class="radio" DataSourceID="SqlDataSource2" DataValueField="EmailNotificationFrequency_ID" DataTextField="EmailNotificationFrequency" Width="150" RepeatDirection="Horizontal" RepeatLayout="Table" onclick="javascript:clearMessage();" />
</td>

在此处输入图像描述

just style using the class called radio

.radio
{
padding-right: 15px;
}

}

最新更新