jquery - How to float thumbs in left and bottom of image -


asp .net mvc3 shopping cart uses bootstrap 3. product page contains main image , variable number of thumbnails. thumbnail appear in single row

if there many thumbnails, big white appears in right of them.

how enhance layout ?

how float thumbs on left side , bottom of main image in shopping cart.

i tried

<div class="detail-thumbs"> <a>                 <img src="/store/storeimage/detailimage/5056">             </a> <a>                 <img src="/store/storeimage/detailimage/5057">             </a> <a>                 <img src="/store/storeimage/detailimage/5058">             </a> <a>                 <img src="/store/storeimage/detailimage/7215">             </a> <a>                 <img src="/store/storeimage/detailimage/7217">             </a> <a>                 <img src="/store/storeimage/detailimage/7218">             </a> <a>                 <img src="/store/storeimage/detailimage/7219">             </a> <a>                 <img src="/store/storeimage/detailimage/7220">             </a>         </div>  <a class="details-picture fbox" href="/store/store/lightbox?product=ath-m50x">         <img alt="" id="detail-mainimage" src="/store/storeimage/detailimage/5057">     </a> 

how force images appear in bottom of main image if there more images main image height ?

can custome styles bootstrap 3, custome mvc 3 razor view, jquery, jquery ui or plugin used ? best way ?

styles used:

.detail-thumbs {     display: inline-block;     vertical-align: top; }      .detail-thumbs {         display: block;         height: 50px;         width: 50px;         border: thin ridge #bbbbbb;         line-height: 50px;         margin: 0;         overflow: hidden;         position: relative;         text-align: center;     }          .detail-thumbs img {             height: auto;             max-height: 47px;             max-width: 47px;             vertical-align: middle;             width: auto;             border: none;         }  .details-picture {     border: thin ridge #bbb;      height: 200px;     line-height: 200px;     margin: 0 20px 15px 0;     position: relative;     width: 198px;     display: inline-block;     vertical-align: top;     overflow: hidden;     text-align: center; } 

it's simple try this

.gallery {    width: 420px;  }  .gallery .bigimg {    float: right;  }
<div class="gallery">    <a href="#" class="bigimg">      <img src="http://placehold.it/300"/>    </a>    <a href="#">      <img src="http://placehold.it/100"/>    </a>    <a href="#">      <img src="http://placehold.it/100"/>    </a>    <a href="#">      <img src="http://placehold.it/100"/>    </a>    <a href="#">      <img src="http://placehold.it/100"/>    </a>    <a href="#">      <img src="http://placehold.it/100"/>    </a><a href="#">      <img src="http://placehold.it/100"/>    </a><a href="#">      <img src="http://placehold.it/100"/>  </div>


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -