With the mark-up sign is superficial, so there were questions how to display images horizontally, of different sizes. That is, the maximum size is 45x45, but images can be 29x45 or 45x33. Without any extra libraries, I wanted to do something ala example , where the main thing and the image and under it are additional. Here interests the list of images as on the link. The trial and error method turned out, but unfortunately it is impossible to divide cells. Did so:
/*---css----*/ ul.slide{ display: table-row; height: 45px; } .slide li{ display: table-cell; border: 1px solid #000; width:45px; cursor: pointer; text-align: center; } .slide li img{ vertical-align:middle; } and of course
<ul class='slide'> <li> <img src="thumbnails/1379865497eknhh.jpg"> </li> </ul> Maybe there are better options?