[Prev][Next][Index][Thread]

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



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


References: