W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: Stylings only possible with Tables

From: James Elmore <James.Elmore@cox.net>
Date: Fri, 22 Jun 2007 19:23:50 -0700
Message-ID: <467C8436.3080503@cox.net>
To: www-style@w3.org

  Daniel Beardsmore wrote:

> From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
> James Elmore wrote:
> > 1. Allow a CAPTION for block elements. (Not strictly CSS, but I'm not
> > subscribed to the HTML list. Also has CSS ramifications.) I see dozens
> > of possible uses.
> I'm not at all sure what this means. Would this be equivalent to the
> title attribute, only as an element? What default presentations would
> you suggest (not specify) for implementers?

This would produce a caption for the block. In tables, captions are placed
either above or below the table itself. The contents of the <caption> </caption>
are displayed between the border and the margin -- the margin is extended enough
on the caption side of the table to permit the location of the text.

Check the HTML 4.01 specification, section 11.2.2 Table Captions, for further
details. I am only suggesting that captions be allowed for all block elements. 
Then, if a designer needs to label an image "Figure 42: Flower Macro Photos", or 
a quote "From the Berlin Wall Speech by J.F.K" or any of dozens of other uses, 
the UA will place the caption and style it the same as a table caption.

The text of the specification also suggests that captions, if used correctly,
may be useful to non-visual browsers.

James Elmore
22162 Windward Way
Lake Forest, CA 92630
Home	(949) 830-9534
Email	James.Elmore@cox.net
Received on Saturday, 23 June 2007 02:24:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:29 UTC