Re: CSS2.1: \A and white-space

On Thu, 5 Sep 2002, Tantek Çelik wrote:
> 
> E.g.
> 
>    br { line-break-after:always }

I've had use for inserting arbitrary newlines into 'content'.

   body:after { content: 'Written by Ian Hickson\A\A9  copyright 2002' }

Don't take that away from me. :-)


(Ok, that's a poor example. My point stands though. With CSS3:

   head > meta[name=author] { string-set: author attr(content); }
   head > meta[name=copyright] { string-set: copyright attr(copyright); }
   body:after { content: 'Written by ' string(author)
                         '\A' string(copyright) 
                         '\A Styled by Foo Style\2122.'; }

...which _is_ perfectly reasonable.)


-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 6 September 2002 00:11:35 UTC