how to center the form class code example Example: how to center a form in bootstrap <div class="col-md-4 col-md-offset-4">my div here</div>