html - bootstrap column to fit width -
i hope image can me describe mean. want make arrow , boxes inline without vacant space on right. can notice left box alligned on white box on top, want achieve in right. attach code can see how did this.
note: updated image above. there white box on top , under 4 boxes. need align eplay box white box above , under it. align slide show demo box on white box above , below it. plus evenly space , size. , after eplay demo, theatre script demo, , audio speech demo box need put arrow image in between. image below need right side box align top white box , under it.
<!--===================demos ==================--> <div class="row"> <div class="col-sm-12 col-md-12 col-lg-12 container-nopads" style=""> <div class="col-sm-2 col-md-2 col-lg-2 " > <div class="demo-box col-sm-12 col-xs-12" id="demo-pdf"> <a href="/versebuster2/eplay/eplay-demo.php" style="text-decoration:none;"> <h4><strong>eplay demo</strong></h4><br><br><br> <img src="images/hovers/pdf-512.png" > </a> </div> </div> <div class="col-xs-1 col-sm-1 col-lg-1 col-md-1 container-nopads" style=""> <img src="images/arrow-right.png" class="img-responsive" > </div> <div class="col-sm-2 col-md-2 col-lg-2 " > <div class="demo-box col-sm-12 col-xs-12" id="demo-doc"> <h4><strong>theatre script demo</strong></h4><br><br> <img src="images/hovers/doc-512.png" class=""> </div> </div> <div class="col-xs-1 col-sm-1 col-lg-1 col-md-1 container-nopads" style=""> <img src="images/arrow-right.png" class="img-responsive" > </div> <div class="col-sm-2 col-md-2 col-lg-2 " > <div class="demo-box col-sm-12 col-xs-12" id="demo-mp3"> <h4><strong>audio speech demo</strong></h4><br><br> <img src="images/hovers/mp3-512.png" class=""> </div> </div> <div class="col-xs-1 col-sm-1 col-lg-1 col-md-1 container-nopads" style=""> <img src="images/arrow-right.png" class="img-responsive" > </div> <div class="col-sm-2 col-md-2 col-lg-2 " > <div class="demo-box col-sm-12 col-xs-12" id="demo-pdf"> <a href="data/pdf/eplaypppdemo.pdf" target="_blank" style="text-decoration:none; "> <h4><strong>slide show demo</strong></h4><br><br><br> <img src="images/hovers/pdf-512.png" class=""> </a> </div> </div> </div> </div> <!--===================end demos ==================-->
use .col-md-3
class case:
.col-md-3 .inner {margin: 5px; background: #99f; text-align: center;}
<script src="https://code.jquery.com/jquery-1.9.1.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <div class="row-fluid"> <div class="container-fluid"> <div class="col-md-3"> <div class="inner">one</div> </div> <div class="col-md-3"> <div class="inner">two</div> </div> <div class="col-md-3"> <div class="inner">three</div> </div> <div class="col-md-3"> <div class="inner">four</div> </div> </div> </div>
preview:
Comments
Post a Comment