HTMLHELP-L Archives

Archiver > 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
References: <12d.5e30edd8.2fdb2e2c@aol.com>


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
Border="0"

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.
http://www.irfanview.com

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
http://freepages.genealogy.rootsweb.com/~adelr/
====== ====== ====== ====== ====== =====

----- Original Message -----
From: <>
To: <>
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
photos
> because of their different sizes--I think it is less boring than just
having
> them all lined up evenly in a row. I have used the following HTML codes
for
> each photo, substituting < and > for the periods, of course:
>
> .tr.
> .td width="24%".
> .a href="churchpella.jpg".
> .img src="churchpellat.jpg" width="120" height="75" border="0".
> ./a.
> ./div.
> ./td.
> ./tr.
>
>
> Then at the bottom of the rows of photos (5), I have the following line
for
> each photo:
>
> .tr.
> .td width="24%".
> .div align="center".
> .font size="2".
> .B.15th Street, Pella
> ,/font.
> ./div.
> ./td.
> ./tr.
>
>
> The problem is that not all of the captions center under the photos.
Some
> of them are just a few spaces off center (to the right) and some are
midway or
> 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.
>



This thread: