[whatwg] The IMG element, proposing a CAPTION attribute

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