W3C home > Mailing lists > Public > www-style@w3.org > October 1998

Re: Display Property Suggestion

From: Daniel Glazman <Daniel.Glazman@der.edf.fr>
Date: Fri, 23 Oct 1998 18:12:18 +0100
Message-ID: <3630B8F2.E00C3379@der.edf.fr>
To: Gabriel Paiz III <gpaiz@vftis.com>
CC: www-style@w3.org
Gabriel Paiz III wrote:
> 
> I have a suggestion, but really it's more of an is it a possibility
> question.  in CSS2 an arbitrary XML element can be assigned the
> element-type(?) of a table cell by declaring the display property with a
> value of 'table-cell':
> 
>     VBOX { display: table-cell }
> 
> Would it be possible to extend 'display' to take a value like:
> 
>  display: image(src=myAttribute1, alt=myAttribute2,  etc.)
> 
> e.g.-
> 
> graphic { display: image(src= attr(GRAPHICNAME))}

Interesting... What about

graphic { display : image ;
          content : url(attr(GRAPHICNAME))
        }

???

</Daniel>
Received on Friday, 23 October 1998 12:11:19 GMT

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