Hi I'm trying to sort out an ordered list for a terms and conditions page, unfortunatly when I use the below code it nests the list as
1.item
1.item
a.item
b.item
c.item
i. item
Which is not what I want, I would like it to read as
1.item
1.1 item
a.item
b.item
c.item
i. item
The markup is
<ol id="mainOL">
<li>item
<ol>
<li>item
<ol type="a">
<li>item</li>
<li>item</li>
<li>item
<ol type="i">
<li>item</li>
<li>item</li>
<li>item/li>
</ol>
</li>
</li>
<li>item</li>
<li>item</li>
<li>item</li>
</ol>
</li>
</ol>
</li>
</ol>
ol#mainOL {
counter-reset: mainOL;
margin-left: 0px;
}
ol#mainOL > li:before{
counter-increment: mainOL;
/* content: counters(mainOL,".")" ";*/
}