I've got a list that needs to be numbered, and also have sub lists that are numbered, however I've got a slight problem in the way that the lists are being numbered.
Currently they are numbered as follows:
Ideally I want the list to be numbered as follows:1. List Item One
1. Sub-list Item One
2. Sub-list Item Two
2. List Item Two
1. Sub-list Item One
1. Sub-sub-list Item One
2. Sub-list Item Two
3. List Item Three
1. Sub-list Item One
2. Sub-list Item Two
The code I'm using is as follows:1. List Item One
1.1. Sub-list Item One
1.2. Sub-list Item Two
2. List Item Two
2.1. Sub-list Item One
2.1.1. Sub-sub-list Item One
2.2. Sub-list Item Two
3. List Item Three
3.1. Sub-list Item One
3.2. Sub-list Item Two
HTML Code:<ol> <li>List Item One</li> <ol> <li>Sub-list Item One</li> <li>Sub-list Item Two</li> </ol> <li>List Item Two</li> <ol> <li>Sub-list Item One</li> <ol> <li>Sub-sub-list Item One</li> </ol> <li>Sub-list Item Two</li> </ol> <li>List Item Three</li> <ol> <li>Sub-list Item One</li> <li>Sub-list Item Two</li> </ol> </ol>







Bookmarks