I need to display a list like this:
1. something ......
aligned like this
1.1. next something
1.1.1. next
2. something
3. next something
As shown above,I want to list the items with custom numbers (from php code) and proper alignment
Here is what I've tried
<ol>
<li value="1">something<br/>aligned like this</li>
<li value="1.1">next something</li>
<li value="1.1.1">next</li>
<li value="2">something</li>
<li value="3">next something</li>
</ol>
But I'm not getting whole numbers only and no decimal points. Does anyone have a solution for this?