- From: Nikodem <nikn1@gazeta.pl>
- Date: Thu, 09 Aug 2007 12:14:22 +0200
- To: www-style@w3.org
Is that possible to automatically create inherited list like here: Table of Contents: <ol> <li>Chapter Example <ol> <li>Subchapter Example</li> </ol> </li> <li>Chapter Example <ol> <li>Subchapter Example <ul> <li>Section of Subchapter Example</li> </ul> </li> </ol> </li> </ol> which results: Table of Contents: I Chapter Example I a Subchapter Example II Chapter Example I a Subchapter Example I a • Section of Subchapter Example ? I know that I can do this: ol>li:before{content:counter(first_level);count-increment:first_level} ol>li>ol>li:before{content:counter(first_level) counter(second_level)} etc., but I mean something like that: li{list-style-inherit:yes} -- Nikodem JID: nikn@jabber.org -- Opole - Miasto Bez Granic. http://www.opole.pl - tu znajdziesz nowe miejsca, nowe mo¿liwo¶ci, nowe inspiracje...
Received on Thursday, 9 August 2007 10:11:57 UTC