|
Posted by Andrew on 12/01/06 21:07
On Fri, 01 Dec 2006 11:45:00 +1100, Andrew
<sorry.no.email@post_NG.com> wrote:
>Hi,
>
> I am thinking of adding captions to the images on a 100+ page site. I
>have a test page at:
>
>http://www.strong-family.org/caption.html
>
> Needs a little tweaking yet but I think if the caption words are kept
>short the div will not break until a fairly extreme text size is
>selected. (This particular div is set at width:170px)
>
> How bizarre would it be to produce an individual style sheet with a
>set of divs for different div/image sizes, for example: 150px, 170px,
>190px etc, and then selecting the appropriate size for each image? I
>guess I would really need a float left, float right and centered set.
>
> I am keen to hear any ideas from the NG before I start this work.
>Feel free to criticise the idea itself and the styling I have used :-)
>
> Thanks for your input,
>
> Andrew.
Hi Andrew,
You obviously have no idea what you are talking about and have
researched this poorly. Have a look at:
http://www.cs.tut.fi/~jkorpela/www/captions.html
Move the width:170px to and inline style, that way you can specify
the size of the div according to the size of the image.
Andrew
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for
stupidity, but why don't we just take the safety labels
off everything and let the problem solve itself?
Navigation:
[Reply to this message]
|