- From: Daniel Beardsmore <public@telcontar.net>
- Date: Sat, 23 Jun 2007 02:00:35 +0100
- To: www-style@w3.org
> From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
> James Elmore wrote:
>
> > 1. Allow a CAPTION for block elements. (Not strictly CSS, but I'm not
> > subscribed to the HTML list. Also has CSS ramifications.) I see dozens
> > of possible uses.
>
> I'm not at all sure what this means. Would this be equivalent to the
> title attribute, only as an element? What default presentations would
> you suggest (not specify) for implementers?
I've wished that I could write:
img { display: block; }
img:after { content: attr(title); font-style: italic }
:after and :before do not work on replaced elements, naturally. That would be too easy.
Received on Saturday, 23 June 2007 01:00:45 UTC