I could do with some help tidying up some table free forms.
Most of the form is in a nice sorted two collum layout, I have ajusted the lable text so it aligns up with the centre line of the text entry boxes, nice and neat. The problem I am having is with the Radio buttons, the text always shares the same baseline as the radio button, which looks untidy. I have tryed adding pading or margin to the input.radio class, with which I can move it side to side but adding it to the top or bottom doesn’t move it up or down. I also added the class ‘radio-lab’ in an attempt to move the text up, but that didn’t work ether. Any ideas?
CSS
input.radio {
padding: 0 10px 0 0;
}
form p .formx {
float: left;
margin: 0 0 0 10px;
text-align: right;
}
form p .radio-lab {
margin: 0 6px 10px 0;
}
form p .widetitle {
text-align: right;
float: left;
width: 340px;
}
HTML
<form>
<p><span class="widetitle">Question for the button section?</span>
<span class="formx"><span class="radio-lab">No</span><input type="radio" name="Title" value="No" class="radio" />
<span class="radio-lab">Yes</span><input type="radio" name="Title" value="Yes" class="radio" /></span></p>
</form>