W3C home > Mailing lists > Public > www-style@w3.org > November 1998

Granularity

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Thu, 26 Nov 1998 18:51:52 -0500
To: <www-style@w3.org>
Message-ID: <000301be1997$bd7e9c20$a56c9bd0@jones.com>
In some books I've seen sections that start with the first (say) four words in
small caps.  Is there any plan for this capability in CSS?  Something like

	p:first-words(4) { font-variant: small-caps }

Or, supposing you want to make sure the small cap words only appear on the first
line (instead of running into the second line on a resize), something like

	p:first-line:first-words(4) { ... }

And what about more granular specifications, like "the 2nd through the 5th
letters of the 6th word in the 8th paragraph?

/Jelks
Received on Thursday, 26 November 1998 18:52:40 GMT

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