Re: Outline Numbered Lists

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 UTC