チェックボックスにラベルを追加して、インラインにする方法を教えてください。ブートストラップ3チェックボックスラベル
私はこのようにそれを望んでいます。現在、以下のコードはinput input label
理由のように見せている
label input input
?
HTML:
<div class="col-md-6 pull-right">
<div class="form-group">
<label>Gender</label> <label class=
"col-sm-2 checkbox-inline"><input id="genMale" type="checkbox"
value="genMale">Male</label> <label class=
"col-sm-2 checkbox-inline"><input id="genFemale" type=
"checkbox" value="genFemale">Female</label>
</div>