user190881 user190881 - 1 month ago 13
ASP.NET (C#) Question

How to remove border of the asp.net radio button

I have a radio button like below, and i am unable to delete the border of that radio button in IE. The same is working in Chrome.

<fieldset id="fsdeSign">
<table width="98%">
<tr>
<td align="right" colspan="2">
<div id="divName" runat="server" visible="false">
<span>
<label class="required" runat="server" id="Label1" style="width: 90px">
<span id="NameSpan" runat="server">*</span>Name</label></span>
<asp:TextBox ID="textName" runat="server" MaxLength="20"></asp:TextBox>
</div>
</td>

<td align="right">
<asp:Label ID="lblaccount" Style="display: none" runat="server" Width="155px"
Text="Would you like to use your account?"></asp:Label>
</td>
<td align="left">
<asp:RadioButtonList ID="rblaccount" runat="server" Style="display: none;border-style:none;" RepeatDirection="Horizontal">
<asp:ListItem Value="Yes" Text="Yes" />
<asp:ListItem Value="No" Text="No" Selected="True" />
</asp:RadioButtonList>
</td>
</tr>
</table>
</fieldset>


I have used the below cssclass="Sign" which is not reflecting.Do i need add any more tags?

fieldset#fseSign input.Sign
{
border-style:none;
}

Answer

Try this fieldset#fsdeSign input {border-style: none;}

Comments