W3C home > Mailing lists > Public > www-style@w3.org > September 2002

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

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Sat, 07 Sep 2002 13:44:19 -0700
To: Claus Färber <list-w3c-style@faerber.muc.de>, <www-style@w3.org>
CC: Daniel Glazman <glazman@netscape.com>, Ian Hickson <ian@hixie.ch>
Message-ID: <B99FB333.16A5F%tantek@cs.stanford.edu>

On 9/7/02 9:31 AM, "Claus Färber" <list-w3c-style@faerber.muc.de> wrote:

> 
> Tantek Çelik <tantek@cs.stanford.edu> schrieb/wrote:
>> If you want to style generated content, I strongly recommend you come up
>> with a proper solution that does not depend on formatting instruction
>> character code hackery.
> 
> Well, there could just be multiple levels of ":after":
> 
> body:after(-1) { content: 'Written by me'; line-break-before:always; /* more
> styles */ }
> body:after(0)  { content: '(C) 2002' ; line-break-before:always; /* more
> styles */ }
> body:after(1)  { content: 'Styled by Foo Style\2122.';
> line-break-before:always; /* more styles */ }
> 
> ":after(0)" could be equivalent to ":after".

Very clever.  Perhaps something to consider for the next version of
Selectors.

Tantek
Received on Saturday, 7 September 2002 16:34:27 GMT

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