日期:2014-05-18  浏览次数:20828 次

如何取消RadioButtonList的边框!
CSS样式表内设置了Input样式的,所有的Input都是这种样式,但我RadioButtonList不想要边框,如何取消?

input { border-bottom:1px solid #BDC5CA; border-right:1px solid #BDC5CA; border-top:1px solid #6F787E; border-left:1px solid #6F787E; padding:3px 2px; font-size:12px; }

我也写了个.radio{ border:none; }

伸应用到RadioButtonList时,在浏览时看到没什么效果Radio还是有边框的!看到这个样式表是应用到Span上了!

不知道怎么设置到Radio上!

C# code
<asp:RadioButtonList ID="start" runat="server" RepeatDirection="Horizontal"
                      RepeatLayout="Flow" CssClass="radio">
              <asp:ListItem Value="1">可用</asp:ListItem>
              <asp:ListItem Value="0">不可用</asp:ListItem>
          </asp:RadioButtonList> 


C# code
<span id="start" class="radio"><input id="start_0" type="radio" name="start" value="1" /><label for="start_0">可用</label><input id="start_1" type="radio" name="start" value="0" /><label for="start_1">不可用</label></span>




------解决方案--------------------
圆的东西好像不能取消