[whatwg] <figure><img><* caption>

"Tab Atkins Jr." <jackalmage at gmail.com> schrieb am Mon, 30 Nov 2009
13:00:00 -0600:

> On Mon, Nov 30, 2009 at 12:57 PM, Nils Dagsson Moskopp
> <nils-dagsson-moskopp at dieweltistgarnichtso.net> wrote:
> > "Tab Atkins Jr." <jackalmage at gmail.com> schrieb am Mon, 30 Nov 2009
> > 12:50:42 -0600:
> >
> >> Note: I would style it with "figure > [caption]" instead, to ensure
> >> you don't accidentally grab misplaced captions.
> >
> > I would like to style captions on top differently from captions
> > underneath. What now ?
> 
> figure > [caption]:first-child
> or
> figure > [caption]:last-child

Apparently, you did not comprehend my question and incorrectly assumed
that I would always use multiple captions.

So, to make that clear: Without a clear content wrapper, I cannot style
a preceding caption differently from a following caption.


Cheers,
-- 
Nils Dagsson Moskopp // erlehmann
<http://dieweltistgarnichtso.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091130/c2cb7541/attachment.pgp>

Received on Monday, 30 November 2009 11:19:43 UTC