W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The IMG element, proposing a CAPTION attribute

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Wed, 22 Nov 2006 20:53:01 +0600
Message-ID: <op.tjfaanz61h6og4@feldgendler.plesk.ru>
On Wed, 22 Nov 2006 20:42:11 +0600, Michel Fortin <michel.fortin at michelf.com> wrote:

> So I propose a new <fcaption> elements -- for "figure caption" -- in
> replacement for the <caption> element in my previous figure construct:
>
>      <figure>
>        <fcaption>Caption Text</fcaption>
>        <img src="...">
>      </figure>
>
> And if I were to propose a default styling for this, it'd be this one:
>
>      figure { display: table; }
>      fcaption { display: table-caption; }

<figure> cannot be used like this:

<table>
   <thead>
     <tr>
       <th>Painting</th>
       <th>Title</th>
       <th>Author</th>
     </tr>
   </thead>
   <tbody>
     <tr>
       <td><img id="img1" src="..."></td>
       <td><label for="img1" type="title">Mona Lisa</label></td>
       <td>Leonardo da Vinci</td>
     </tr>
     ...
   </tbody>
</table>


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
Received on Wednesday, 22 November 2006 06:53:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC