我想在同一行放置兩個標籤和兩個輸入。這甚至有可能嗎?在同一行自舉多個標籤和輸入
我希望它看起來像這一切都在同一行:
[標籤] [輸入] [按鈕]空白符[Label2的] [輸入2]
我有什麼到目前爲止
<form class="form-horizontal">
<div class="control-group">
<label class="control-label" for="inputEmail">Email</label>
<div class="controls">
<input type="text" id="inputEmail" placeholder="Email">
<span class="input-group-btn ">
<button type="button" class="btn" data-ng-click="click()">...</button>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputPassword">Password</label>
<div class="controls">
<input type="password" id="inputPassword" placeholder="Password">
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<button type="submit" class="btn">Sign in</button>
</div>
</div>
</form>
@ IamRaviteja的回答是正確的做法。另請參閱[Bootstrap網站](http://getbootstrap.com/components/#input-groups)以獲取更多示例。 –