Re: Way to Represent <img> Behaviour in CSS

> img {content:  url()} is almost certain to be valid CSS3, and
> attr is proposed.

Both are already valid CSS2, when applied to :before and :after:-
[[[
12.2 The 'content' property
'content'
Value:   [ <string> | <uri> | <counter> | attr(X) | open-quote |
close-quote | no-open-quote | no-close-quote ]+ | inherit
Initial:   empty string
Applies to:   :before and :after pseudo-elements
Inherited:   no
Percentages:   N/A
Media:   all
]]]

*But* it isn't legal to have attr(X) inside a <uri> yet, or apply it to any
other form of selector. That's what I'm asking, can we have uri(attr(X)) in
CSS3, and have it apply to anything?

Thanks for your quick reply,

Kindest Regards,
Sean B. Palmer
http://xhtml.waptechinfo.com/swr/
http://www.w3.org/WAI/ER/
http://www.w3.org/WAI/GL/
"Perhaps, but let's not get bogged down in semantics."
   - Homer J. Simpson, BABF07.

Received on Wednesday, 22 November 2000 12:36:31 UTC