[thelist] CSS Image Captions

Sam Richardson sam.richardson at outwide.co.nz
Sun Feb 16 16:50:21 CST 2003

Thanks Jeff,

Inline half fixes, I think it is the length of the caption that is causing
problems. It still extends right over the width of the box element above it,
I need it to wrap at the end of the image.

If I was constructing it with tables I could create it like this

Outer table, 1% width
Inner table, no width
Image that pushes inner table out
Caption underneath image that would expand to fit the inner table (forced
open by the size of the image).

I know that it's a really unelegent way of construction but I don't know if
their is a similar way of building it via CSS.

----- Original Message -----
From: ".jeff" <jeff at members.evolt.org>
To: <thelist at lists.evolt.org>
Sent: Monday, February 17, 2003 11:26 AM
Subject: RE: [thelist] CSS Image Captions

> sam,
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > From: Sam Richardson
> >
> > The problem I have however, the box expands out to fill
> > the entire parent block element, where I want it to
> > contract around it instead. I can get it to contract by
> > specifying a width, but because it is going into a
> > content management system, I don't have access to
> > images width. [...]
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> sounds more like a problem with your content management system to me.
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > Is there something I can add to the <div> to make it
> > contract?
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> you can set the display property to inline.
> .jeff
> http://evolt.org/
> jeff at members.evolt.org
> http://members.evolt.org/jeff/
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list