I have a User Control with 3 radio buttons and I need to add space between the buttons themselves, not between the button and its text. Can someone help me figure out how to add this space? Here is my User Control list:
public class RadioButtonListAppointmentFormat : MyCalSTRSRadioButtonList
{
public RadioButtonListAppointmentFormat(): base()
{
this.CellPadding = 0;
this.CellSpacing = 0;
Items.Add(new ListItem("In Person", "InPerson"));
Items.Add(new ListItem("Telephone", "Telephone"));
Items.Add(new ListItem("Web Based", "Web"));
SelectedIndex = 0;
this.SetDisplayTextToNoWrap();
}
}
This is the Base class for our User Control:
public class MyCalSTRSRadioButtonList : BaseRadioButtonList
{
public MyCalSTRSRadioButtonList() : base()
{
this.CssClass = ApplicationSettings.CssClass.FormText;
}
}
Here is the CSS being used:
.formtext {
font-size: 1.1em;
font-family: Verdana, Arial, Helvetica, sans-serif;
line-height: 22px !important;
}
And here is how the css is attached to the User Control:
public static string FormText
{
get { return "formtext"; }
}
Any assistance would be greatly appreciated, thank you.