Re: Content generation question

At 22:27 18/11/2000 +0000, Sean B. Palmer wrote:
>Is the following legal in CSS2?
>
>*:before { content: "The following element has the class attribute set to
>"attr(class); }
>
>In other words, can we mix different forms of content generation into one
>long string?

I think so:

http://www.w3.org/TR/REC-CSS2/generate.html#propdef-content
'content' 
Value:[ <string> | <uri> | <counter> | attr(X) | open-quote | close-quote |
no-open-quote | no-close-quote ]+ | inherit 

Note the "+".

-- robin b.
Make it idiot proof and someone will make a better idiot. 

Received on Saturday, 18 November 2000 21:44:04 UTC