Re: The \ escape character in the "content" property.

Nicolas Lesbats wrote:
> 
> Hi,
> 
> CSS2 don't define, according to what I have read, the behavior of the
> "content" property with the following example. Suppose you have :
> 
>         E:after { content: "A word\AAnother word" }
> 
> How will the UA undertand the \ escape character ? Like \A or like \AA ?

The latter.

> Is this example CSS-conformant ? 

Yes, but \AA does not do what you want it to

> Is an white space required after any
> escape sequence ? And before ?


      E:after { content: "A word\A Another word" }

Will do what you want; the extra space delimits the escape sequence
(like ; delimits entities in XML).

--
Chris

Received on Thursday, 25 March 1999 16:25:27 UTC