How do i have the radio button show one below the other like this?
Sex (button)Male
(button) Female
Whatever i do, i get like this
Sex (button)Male
(button) Female
how do i do the margin left of the second radio button so that it is right below the first one?
<label for="Sex">Sex:</label>
<asp:RadioButton ID="male" runat="server" GroupName="gender"
Text="Male"/>
<br/>
<asp:RadioButton ID="female" runat="server" GroupName="gender" Text="Female"/>
You need to either group the items in side-by-side
divs, or add additional spacing to align the second item.floated divs:
or with padding:
You can also do it as a
RadioButtonList