How to give space between radioactive buttons and text in ASP.NET?

Asked By 20 points N/A Posted on -
qa-featured

Hi guys, anybody here with expert in programming and coding in ASP.NET please help me as I’m creating every thing by following tutorials and online content so please tell me how to give space between radio active buttons and text please answer me as I don’t know how to do it don’t even have little idea to execute this work until said but I want to learn and give it a try.

SHARE
Answered By points N/A #189103

How to give space between radioactive buttons and text in ASP.NET?

qa-featured

Hello,

Such operation can be done by adding a simple “CssClass” at the line of the radio button.

For example,

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

Even such work can also be done with CSS too.

.Space label

{

   margin-left: 20px;

}

Another example of CSS would be:

input[type="radio"]

{

    margin-right: 2px;

}

Enjoy!

Related Questions