Re: Display Property Suggestion

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 UTC