Give spacing between text and radio in ASP Give spacing between text and radio in ASP asp.net asp.net

Give spacing between text and radio in ASP


Try:

<asp:RadioButton ID="radio1" CssClass="Space" runat="server" GroupName="Group1" />

and CSS:

.Space label{   margin-left: 20px;}

works here...


Use CSS:

input[type="radio"] {    margin-right: 2px;}

Or:

input[type="radio"] + label{    margin-left: 2px;}


Another method that works is to precede the text property of the radiobutton with the   symbol like this Text="  I have pad before me"