W3C home > Mailing lists > Public > www-style@w3.org > April 2006

Re: captions

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Sat, 15 Apr 2006 16:43:00 +0100
Message-ID: <44411484.5020400@splintered.co.uk>
To: www-style@w3.org

fantasai wrote:

> a) HTML isn't the only markup language out there. DocBook, for example, has
>    a <figure> element with a <title>. It's defined to be used with embedded
>    images, code fragments, and other elements.
> 
> b) If my HTML documents needs captions with its figures, I will put them in
>    somehow. I can write, for example,
>      <p class="figure">
>        <img>
>        <span class="caption">...</span>
>      </p>
>     It's not perfect from a markup perspective, but from a CSS perspective
>     it's no different from
>       <figure>
>         <img>
>         <caption>...</caption>
>       </figure>
>     except as far as the selectors are concerned. And what I'm asking about
>     here isn't the markup, it's the styling.

But would it not make more sense to have a generically named property 
for the position, rather than caption-side?

-- 
Patrick H. Lauke
__________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__________________________________________________________
Received on Saturday, 15 April 2006 15:43:03 GMT

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