I have a form with radio buttons that are on the same line as their labels. The radio buttons, however, are not vertically aligned with their labels, as shown in the screenshot below.

How can vertically align switches with their labels?
Edit:
Here's the html code:
<input checked="checked" type="radio" name="user_level" id="rd1" value="1"/> <label for="rd1">radio 1</label><br/> <input type="radio" name="user_level" id="rd2" value="2"/> <label for="rd2">radio 2</label><br/> <input type="radio" name="user_level" id="rd3" value="3"/> <label for="rd3">radio 3</label><br/>
And css code:
label{ padding:5px; color:#222; font-family:corbel,sans-serif; font-size: 14px; margin: 10px; }
html css radio-button xhtml forms
ninjacoder Nov 22 '12 at 9:50 2012-11-22 09:50
source share