W3C home > Mailing lists > Public > www-style@w3.org > June 2009

Re: Outline Numbered Lists

From: Bruce Lawson <bruce@brucelawson.co.uk>
Date: Wed, 17 Jun 2009 10:33:13 +0100
To: "Dylan Just" <dylan.just@ephox.com>, www-style@w3.org
Message-ID: <op.uvnwtnpuu355il@bruce-pc>
On Tue, 16 Jun 2009 23:20:44 +0100, Dylan Just <dylan.just@ephox.com>  
wrote:

> Hi,
>
> I work for a company, Ephox, who develop a wysiwyg HTML editor called  
> EditLive!. We have a number of law firms as clients, and they require  
> "outline numbered" lists, in the format:
>
> 1. Item 1
> 1.1. subitem
> 1.1.1. sub-sub 1
> 1.1.2. sub-sub 2
> 1.2. subitem 2
>
> I've looked through the css and html specs and found nothing to this  
> effect, nor any browser support for such a list, though the list style  
> is common in word processors.
>
> We have considered a number of workarounds, such as using css counters,  
> but they are complex and lack browser support.

This does the trick on all browsers I tested on (Opera, IE 8, Firefox,  
Safari, Chrome)
http://devfiles.myopera.com/articles/501/nested-counters-example.html


Bruce Lawson
www.brucelawson.co.uk
-------------------------

sent from my ZX80
Received on Wednesday, 17 June 2009 09:34:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT