PDA

View Full Version : problem with photo caption


winnjewett
May-05-2005, 03:25 PM
I am having a problem with the photo caption. When the caption is in, the left arrow/spade is pulled down.

Here's an example:
http://photography.brilliantphoton.com/gallery/518480/1/21347974/Large

-winn

{JT}
May-05-2005, 04:19 PM
You have incomplete HTML causing the table to missalign:

<strong class="blue"><span id="caption"><div class=photocredit>photo © Erin Keenan</span></span></strong>

First; make sure to quote class=photocredit.

Second; you have make one of the closing </span> tags a closing </div> tag (this is the main problem).

Third; not quite a a problem but you should make the copyright symbol be &copy; so all browsers can read it.

winnjewett
May-06-2005, 12:00 AM
You have incomplete HTML causing the table to missalign:

<strong class="blue"><span id="caption"><div class=photocredit>photo © Erin Keenan</span></span></strong>

First; make sure to quote class=photocredit.

Second; you have make one of the closing </span> tags a closing </div> tag (this is the main problem).

Third; not quite a a problem but you should make the copyright symbol be &copy; so all browsers can read it.
ack...there's lots going on here. Thanks for your help.

I made the changes you mentioned, and the problem went away.

The copyright symbol is a product of loading the text back into the caption tool. If you put &copy; in, and reload it, it comes back in the symbol form. Is there any way to fix this?

Also, the reverse is true of the alt tag for the photo. It does not parse these characters, and instead displays the ampersand, etc....

-Winn

{JT}
May-06-2005, 06:17 AM
Odd; this is what I see now:
<span id="caption"><div class="photocredit">photo &copy; Erin Keenan</div></span>

BUT ... I also see the same problem with alignment.

Here is what I would change the line to:

<span id="caption photocredit">photo &copy; Erin Keenan</span>

winnjewett
May-06-2005, 09:50 AM
Odd; this is what I see now:
<span id="caption"><div class="photocredit">photo &copy; Erin Keenan</div></span>

BUT ... I also see the same problem with alignment.

Here is what I would change the line to:

<span id="caption photocredit">photo &copy; Erin Keenan</span> jt, correct me if I'm wrong, but I believe that smugmug puts the <span id="caption"> tag in, and I have no control over it.
Here's a page with nothing in the photo caption:
http://photography.brilliantphoton.com/gallery/518480/1/21347769/Large

-winn

{JT}
May-06-2005, 11:36 AM
Yeah, I forgot that we do :)

The arrows are still missaligned for me, not sure what is going there. Has to be something in your style sheets.