これらの2つのdivをどのように縦に並べることができますか? どのような種類のcol-msサイジングであっても、2つの入力グループは垂直線で整列しません。 pls check the image here.2つのフォームグループdivを縦に並べるにはどうすればよいですか?
ここに私のコードスニペットです:
<div class="widget-body">
<form class="form-horizontal" id="form">
<input class="form-control" type="hidden" id="id">
<fieldset>
<div class="form-group col-md-6">
<label class="col-md-4 control-label"> fax</label>
<div class="col-md-8">
<input class="form-control" type="text" id="name" name="name">
</div>
</div>
<div class="form-group col-md-6">
<label class="col-md-4 control-label"> email</label>
<div class="col-md-8">
<input class="form-control" type="text" id="name" name="name">
</div>
</div>
<div class="form-group col-md-6">
<label class="col-md-4 control-label"> QQ</label>
<div class="col-md-8">
<input class="form-control" type="text" id="name" name="name">
</div>
</div>
<div class="form-group col-md-6">
<label class="col-md-4 control-label"> wechat</label>
<div class="col-md-8">
<input class="form-control" type="text" id="name" name="name">
</div>
</div>
<div class="form-group col-md-12">
<label class="col-md-2 control-label"> remark</label>
<div class="col-md-10 pull-left">
<textarea class="form-control" type="text" id="name" name="name"></textarea>
</div>
</div>
</fieldset>
</form>
</div>
..ですあなたのケースで
padding-left:10px
を使用しています。どんなCSSを試しましたか?あなたは 'css'とこれがどんなフレームワークでも含めるようにあなたの質問タグを更新したいでしょう。 –私はあなたが期待した答えを追加しました – Gowtham
ああそれを持って....私の質問を更新させてください。 –