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