"fit-content crossbrowser"
Bootstrap 3.0.0 Snippet by victorgaldamezstarshot

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 container-box"> <div class="centered-box"> <div> <div>Contenido</div> <div>Contenido</div> <div>Contenido</div> </div> </div> </div> </div>
.container-box { display: table; float: left; width: 100%; height:200px; background-color:blue; } .centered-box { display: table-cell; vertical-align:middle; background-color:red; padding-left: 5%; }

Related: See More


Questions / Comments: