Sat, 2003-06-28 17:42
Hi,
On my photo gallery site, the index pages consist of thumbnails with labels under them. Each thumbnail is an image whose maximum width and height are known; however, the actual dimensions vary from thumbnail to thumbnail.
What I would like to do is display the thumbnails so that the labels all line up vertically. Currently, I am doing this with tables. Is there a CSS-approved way of accomplishing the same thing ? Thanks for the info.
Sun, 2003-06-29 04:57
#1
Vertical Alignment
Hi Bugmaster,
Nice photos.
Having a look at the source, it seems that you have already removed the tables from around the images.
Looks good in Netscape 7 and IE6 on windows.
Did you leave out the height value in the p on purpose, see below
Quote:
<div class="thumbnail">
<p style="width: 128px; height: px; padding-top: 0px;">