You are here: Nested Ordered List « HTML « IT news, forums, messages
Nested Ordered List

Posted by CK on 06/02/06 21:31

Hello all,
I have a nested ol and I need help with the numbering.
For example.
<ol>
<li>Sweet</li>
<li>Salty</li>
<ol>
<li>Very Salty</li>
<li>lightly salted</li>
</ol>
<li>bitter</li>
<li>sour</li>
</ol>

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация