- From: Robin Berjon <robin@knowscape.com>
- Date: Sun, 19 Nov 2000 03:44:42 +0100
- 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 UTC