W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: Stylings only possible with Tables

From: Daniel Beardsmore <public@telcontar.net>
Date: Sat, 23 Jun 2007 02:00:35 +0100
Message-ID: <20070623010035.25052.qmail@s417.sureserver.com>
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 GMT

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