W3C home > Mailing lists > Public > www-style@w3.org > November 2000

Re: Way to Represent <img> Behaviour in CSS

From: Matthew Brealey <webmaster@richinstyle.com>
Date: 22 Nov 2000 17:12:06 -0000
Message-ID: <20001122171206.11148.qmail@phoenix.futurequest.net>
To: www-style@w3.org
You wrote:
> In the CSS2 spec. there is a style sheet to represent the default behaviour
> (i.e. style) that most browsers apply to HTML. However, there is the caveat
> that certain things like the display of images in <img> cannot be expressed.
> While this is not quite legal, has anyone considered the following:-
> 
>      @media screen { img { content: url(attr(src)); } }

Yes they have.

img {content:  url()} is almost certain to be valid CSS3, and attr is proposed.
-- Random fortune
I'm definitely not in Omaha!
Received on Wednesday, 22 November 2000 12:12:10 GMT

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