Tracey Adams wrote:
> I have found out how to do it and it's pretty simple. Use an inline
> style=width with your image style.
I don't think it's relevant how we set an explicit px valued width; we
could set it on the caption text directly (if we also set display: block
for it), or on its block
I forgot in my original message to state where to put the caption,
see below for example.
style="width:300px;"
As in the example below.
.imgLeft {
float:left;
padding:.5em;
font-size:.8em;
font-family: Arial, san-serif;
}
http://public.ca.sandia.go
On Jun 2, 2008, at 10:53 PM, Jukka K. Korpela wrote:
> Tracey Adams wrote:
>
>> I am having a problem with keeping the captions under images to the
>> width of the image and not all the way across the page. I've tried a
>> number of things and the only thing I've found that sort of works is
>> to
Tracey Adams wrote:
> I am having a problem with keeping the captions under images to the
> width of the image and not all the way across the page. I've tried a
> number of things and the only thing I've found that sort of works is
> to set a width limit in my caption css.
That appears to be the
Alan K Baker wrote:
> I am having a problem with keeping the captions under images to the
> width of the image and not all the way across the page. I've tried a
> number of things and the only thing I've found that sort of works is
> to set a width limit in my caption css. Of course t
- Original Message -
From: Tracey Adams
To: css-d@lists.css-discuss.org
Sent: Monday, June 02, 2008 8:54 PM
Subject: [css-d] Image caption width
I am having a problem with keeping the captions under images to the
width of the image and not all the way across the page
I am having a problem with keeping the captions under images to the
width of the image and not all the way across the page. I've tried a
number of things and the only thing I've found that sort of works is
to set a width limit in my caption css. Of course that has only
limited success. My i