2017-07-22 37 views
0

を形成:ブートストラップは、こんにちは、私は私のブートストラップの形で次のコードを持っているグループ

<div class="form-group"> 
    <label class="col-md-3 control-label">Width/Height</label> 
    <div class="col-md-4"> 
     <input type="text" class="form-control" name="Width" value="" required> 
    </div> 
    <div class="col-md-4"> 
     <input type="text" class="form-control" name="Height" value="" required> 
    </div> 
    <span class="help-block"><small>A block of help text that breaks onto a new line and may extend beyond one line.</small></span> 
</div> 

出力はこれです:

enter image description here

そして、私は希望しますこのようなものを得るには:

enter image description here

ヒント?

答えて

0

これは役立つはず:

 <div class="form-group"> 
    <label class="col-md-3 control-label">Width/Height</label> 
    <div class="col-md-4" style="padding-left:0"> 
    <input type="text" class="form-control" name="Width" value="Width" required> 
    </div> 

<div class="col-md-4"> 
    <input type="text" class="form-control" name="Height" value="Height" required> 
</div><div class="clearfix"></div> 
<div class="col-md-3">&nbsp</div> 
<span class="help-block"><small>A block of help text that breaks onto a new line and may extend beyond one line.</small></span> 
</div> 
関連する問題