Re: first-word pseudo-element 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.


Received on Thursday, 17 May 2001 17:01:17 UTC