how to center a form bootstrap code example
Example 1: how to center a form in bootstrap
<div class="col-md-4 col-md-offset-4">my div here</div>
Example 2: center form group bootstrap
.class {
margin: 0 auto;
float: none; //optional
}
<div class="col-md-4 col-md-offset-4">my div here</div>
.class {
margin: 0 auto;
float: none; //optional
}