"Box Center, Vertical Box Center"
Bootstrap 3.3.0 Snippet by htmldoctor

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="center-box"> Center Box </div> </div> </div>
.center-box{ position:absolute; top:0; right:0; bottom:0; left:0; z-index:99; margin:auto; height:200px; width:200px; border:1px solid #000; text-align:center; line-height:200px; }

Related: See More


Questions / Comments: