Checkboxlist 样式

   <style type="text/css">
        .test
        {
        }
        .test label
        {
            margin-right: 30px;
        }
    </style>

 

 <asp:RadioButtonList ID="rblmethod" runat="server" RepeatDirection="Horizontal" BorderColor="White"
                    RepeatColumns="2" RepeatLayout="Flow" CssClass="test">
                    <asp:ListItem Text="自动发送" Value="1"></asp:ListItem>
                    <asp:ListItem Text="手动发送" Value="2"></asp:ListItem>
                </asp:RadioButtonList>

 

 RepeatLayout="Flow" 去掉上面的横线

posted @ 2012-12-11 11:27  洗耳恭听兼烂笔头  阅读(1221)  评论(0编辑  收藏  举报