|  | Posted by Martin Jay on 06/02/06 22:10 
In message <I62gg.106318$dW3.10267@newssvr21.news.prodigy.com>, CK<c_kettenbach@hotmail.com> writes
 >Hello all,
 >I have a nested ol and I need help with the numbering.
 
 >I want the output to  be
 >  1.. Sweet
 >  2.. Salty
 >  1.1Very Salty
 >  1.2lightly salted
 >  3.. bitter
 >  4.. sour
 >But it currently renders like this.
 >  1.. Sweet
 >  2.. Salty
 >    1.. Very Salty
 >    2.. lightly salted
 >  3.. bitter
 >  4.. sour
 >I need the decimal style. Any ideas? Thanks ~CK
 
 I don't think you can do that without using a script.  Couldn't you use
 letters, instead?
 
 Also, the HTML you posted was slightly incorrect because you started the
 second <ol> inside the first <ol>, but outside an <li>.  Try this:
 
 <ol>
 <li>Sweet</li>
 <li>Salty
 <ol style="list-style-type: lower-alpha;">
 <li>Very Salty</li>
 <li>lightly salted</li>
 </ol>
 </li>
 <li>bitter</li>
 <li>sour</li>
 </ol>
 --
 Martin Jay
 Phone/SMS: +44 7740 191877
 Fax: +44 870 915 2124
  Navigation: [Reply to this message] |