Saturday, 28 September 2013

OL li numbering issue

OL li numbering issue

I've the following ordered list:
<ol>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ol>
I've to display one li at a time which I'm doing using the 'display'
property. The problem is that no matter which of the li's is displayed,
the list numbering shows 1. So instead of "2. Second" or "3. Third" I'm
seeing "1. Second", "1. Third", etc.
EDIT: Clarified question

No comments:

Post a Comment