i'm using .form-horizontal
layout form. want label , form field align horizontally. however, in cases, need multiple form fields align horizontally. example, in form collects credit card information, want this:
name: [___________] cc expiry date: [____] [____]
is there way use .form-horizontal
on fields , .form-inline
other fields?
there's no mystery, put other input together:
<form class="form-horizontal"> ... <div class="control-group"> <label class="control-label" for="input1">label</label> <div class="controls"> <input type="text" id="input1" placeholder="input1"> <input type="text" id="input2" placeholder="input2"> </div> </div> </form>
Comments
Post a Comment