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

时间:2018-08-15 22:13:49

标签: css asp.net styles

我有这段代码,我无法设置其样式,因此我想将填充右移至少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>

enter image description here

1 个答案:

答案 0 :(得分:0)

just style using the class called radio

.radio
{
 padding-right: 15px;
}

}