W3C home > Mailing lists > Public > www-style@w3.org > May 2001

Re: first-word pseudo-element

From: Chris Lilley <chris@w3.org>
Date: Thu, 17 May 2001 22:58:00 +0200
Message-ID: <3B043B58.287F11F2@w3.org>
To: andrew.robertson@capitaes.co.uk
CC: www-style@w3.org, sean@mysterylights.com, glazman@netscape.com


andrew.robertson@capitaes.co.uk wrote:
> 
> >You might consider a "to-content" selector then, where it applies style
> until the first occurance of a certain character, or set of characters (non
> inclusive). "First word" would be like :to-content(" ") or whatever. ]
> That sounds like a good idea.

Neat. Of course, :to-content(" ", 3) would be even better with the
second parameter defaulting to one if not provided.

-- 
Chris
Received on Thursday, 17 May 2001 17:01:17 GMT

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