W3C home > Mailing lists > Public > www-html@w3.org > August 2002

Specific method of captioning images/objects is needed

From: Peter Sheerin <pete@petesguide.com>
Date: Fri, 9 Aug 2002 17:12:56 -0700
Message-ID: <003701c24002$bdaf9bf0$8810960a@cadpkslaptop>
To: "html-w3c" <www-html@w3.org>, <www-style@w3.org>
I've long been frustrated in my attempts to create on-line magazing content that contains a fair number of images with captions in a way that is both pleasing to the eye and validates against the most recent HTML and CSS specifications. I've never found a satisfactory solution, and have come to the conclusion that we need something like a new attribute or subtag for <object> to house a caption, along with a better method than floating to position images with captions.

I'd like to see something like <caption></caption> allowed to be nested inside a (possibly nested) <caption> element, and have it rendered if any of the nested <object>s are actually displayed. Then it could be formatted and positioned just like a table <caption> can.

But there still exists the problem of positioning the image and its caption. Since web pages can reflow according to the size of the browser window, some provision needs to be made for placing the pair near the reference in the text. Currently this must be done by placing <img> and <span> tags inside a paragraph, next to the reference. But this limits formatting options and puts extraneous text in the middle of the flow (making text copied to the clipboard a jumble of content and caption).

So I'd like to see a variation on float: or position:relative that could be made relative to an ID. This could be a named paragraph or a named <span>. Such a structure would also be useful for side notes and footnotes.


Received on Saturday, 10 August 2002 01:34:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:52 GMT