W3C home > Mailing lists > Public > www-style@w3.org > February 1997

Re: Figure (Was Re: DSSSL style editing (was: RE: Positioning...))

From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
Date: Fri, 7 Feb 1997 23:23:35 +0100 (MET)
Message-Id: <9702072323.ZM13112@grommit.inria.fr>
To: Steve Knoblock <knoblock@worldnet.att.net>, Dave Raggett <dsr@w3.org>, Jon Bosak <bosak@atlantic-83.Eng.Sun.COM>, www-style@w3.org
On Feb 7,  4:11pm, Steve Knoblock wrote:
> We have caption for table, why not allow it for other elements?

> <div class=fig>
> <img ...>
>    <caption>Figure 1. ...</caption>
> </div>

The problem with that is that you are using div to encapsulate the
image and it's caption, bacuase img is not a container.

Perhaps

<object class=fig data=... >
  <caption>Figure 1. ...</caption>
</object>

(As Jon says, autonumbering is preferable).

Or we could invent a new FIG tag ... or was that done already.

;-)

-- 
Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)4 93 65 79 87       06902 Sophia Antipolis Cedex, France
Received on Friday, 7 February 1997 17:23:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:49 GMT