- 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>
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 UTC