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

Re: Content generation question

From: Robin Berjon <robin@knowscape.com>
Date: Sun, 19 Nov 2000 03:44:42 +0100
Message-Id: <4.1.20001119034245.02afacb8@mail.knowscape.net>
To: "Sean B. Palmer" <sean@mysterylights.com>
Cc: <www-style@w3.org>
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 GMT

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