HTMLHELP-L ArchivesArchiver > HTMLHELP > 2005-06 > 1118431496
From: "Alfred D. Eller" <>
Subject: Re: [HTMLHELP-L] Photo Page Help, Please
Date: Fri, 10 Jun 2005 14:25:29 -0500
I would not use the .div. - ./div. Tags within the table divisions.
You can use
.td align=center valign=top.
You can also get by with only one width per column in a table. Don't confuse
the browser by putting different widths in the same column in a table.
If the first row has all of the widths listed, all of the other rows will
have the same width.
You can get by with assigning the width to a column in the last row of a
table too, but I prefer the first row where the cell is defined by itself,
not more than one column wide.
I also like to add borders to the table cells while I am working on it, then
remove them when I am done. That may tell you why you sometimes get captions
to the side of pictures.
.Table align=center width=90% border="1".
Then when you get things like you want them, just change the border="1" to
It may be less boring to have them in variable width cells, but IrfanView
will make a photo web page with thumbnail links to each photo in an instant,
and so much easier.
The code is quite straight forward and plainly written so it would be easy
to edit it and easy to read so you can modify it if you want, changing the
captions from filename and/or size to what you want.
Alfred D, Eller
====== ====== ====== ====== ====== =====
----- Original Message -----
Sent: Friday, June 10, 2005 12:55 PM
Subject: [HTMLHELP-L] Photo Page Help, Please
> Hope I can explain this clearly.
> I am building a web page of thumbnail photos. I have staggered the
> because of their different sizes--I think it is less boring than just
> them all lined up evenly in a row. I have used the following HTML codes
> each photo, substituting < and > for the periods, of course:
> .td width="24%".
> .a href="churchpella.jpg".
> .img src="churchpellat.jpg" width="120" height="75" border="0".
> Then at the bottom of the rows of photos (5), I have the following line
> each photo:
> .td width="24%".
> .div align="center".
> .font size="2".
> .B.15th Street, Pella
> The problem is that not all of the captions center under the photos.
> of them are just a few spaces off center (to the right) and some are
> to the right of the photo.
> Can some please explain what I am doing wrongly and how to correct it?
> Thanks so much for any advice.