Try Free Other Tools
Horizontal form
It necessary you right align the labels and float them to the left to make them appear on the same line as it controls. make the requirable for the most markup changes from a default form:
- Add the form
.form-horizontal
to it - You will wrap labels and controls in it
.control-group
- You will add
.control-label
to the label - You can wrap associated controls in
.controls
for proper alignment of the form - You can contact us for the full CSS,
It 100%
Free. Use the contact-us page or the Chat Icon
<form class="form-horizontal"> <div class="control-group"> <label class="control-label" for="inputEmail">Email</label> <div class="controls"> <input type="password" class="input-small" placeholder="Password"
style="width: 190px; height: 30px; border-radius: 5px; border-color: #ddd;> </div> </div> <div class="control-group"> <label class="control-label" for="inputPassword">Password</label> <div class="controls"> <input type="password" class="input-small" placeholder="Password"
style="width: 190px; height: 30px; border-radius: 5px; border-color: #ddd;> </div> </div> <div class="control-group"> <div class="controls"> <button type="submit" class="btn"
style="width: 70px; height: 25px; border-radius: 5px; border-color: #ddd; margin-left: 50px;">Sign in
</button> </div> </div> </form>