[thelist] photo captions

Stephen Rider evolt_org at striderweb.com
Mon Feb 2 10:00:58 CST 2004


I would agree with this assessment.  A photo caption is part of your 
content, isn't it?  If it is, it should be in the HTML.

I would put the image and the caption together in a div, and style the 
div to taste.

You could also make the caption a title attribute of the IMG.  That 
would make the text a popup in most browsers.

<img src="clown.jpg" title="Bobo entertains the kiddies"  alt="photo: 
Bobo the clown making balloon animals for a laughing girl">

Steve

On Feb 1, 2004, at 11:18 AM, Hassan Schroeder wrote:

> Daniel Medley wrote:
>> Is there a way of using css to add captions to an inline photo?
>
> However... is this even really a good idea?
>
> Essentially, you're saying that the caption is not relevant content,
> that it's only decoration that non-CSS UAs don't need to render.
> That seems unlikely, eh?



More information about the thelist mailing list