html - Layout with display:inline-block not line oriented -


i'm having problems layout of page: http://ulrichbangert.de/div/webdesign/php/bottle-library/hellyers.php if viewport width set medium value (about 800px) layout not line oriented. in lines there few bottles although there space more. there way fix this, maybe using bootstrap? best if bottoms of containers aligned. css:

        .photo-link {             max-width: 300px;             display: inline-block;             float: left;             text-align: center;             font-size:medium;             padding:5px;             margin:5px;             border:3px solid #663366;                  } 

my html:

<a href="i/360widex43high.jpg" class="photo-link fancybox" title="360widex43high"> <img src="t/360widex43high.jpg" /><br>360widex43high</a> <a href="i/43widex360high.jpg" class="photo-link fancybox" title="43widex360high"> <img src="t/43widex360high.jpg" /><br>43widex360high</a> 

do want every image have different image size? id more easier fill every blank space if have same height on every image.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -