Keith:
When you insert the paragraph tag in between the list items, the indentation will not be correct. I want the paragraph to be indented in line with the list items.
Thanks in advance.
Keith Rubow-2 wrote:
Peter is correct. No <p> within an <ol> unless it is inside a <li>. But
if you need a paragraph between list items, you can do the following:
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
<p>Paragraph</p>
<ol start="3">
<li>Item 3</li>
...
</ol>
The start attribute causes the list item numbering to start with the
given value, rather than starting over at 1. There is no way to make it
automatically start with the next number from the previous list. If you
add/delete list items, you must adjust the start attribute accordingly.
Keith Rubow
Peter Kerr wrote:
> On 2/12/2010, at 11:53 PM, Alma Hunt wrote:
>
>
>> I am using Amaya 11.3 ver on the Windows XP Platform. I have created a web
>> page in which I have numbered list.
>>
>> Below is the code in a procedure where I have inserted figures. Please note
>> that the numbering will not be right in this code.
>> To get the numbering right, I remove the <ol> tags in between. When I
>> refresh the page, the figures have disappeared.
>> This is the first time I am encountering this problem. Kindly help me in
>> solving this.
>>
>>
>>
>> <ol>
>> <li>Select the Help menu to view the available options.</li>
>> </ol>
>>
>> <p> Images/Eclipse Plugin Images/1.gif </p>
>> <ol>
>> <li>Click Software Updates. This opens the Software Updates and
>> Add-ons page.</li>
>> </ol>
>>
>
>
>> [snip]
>>
>
> By removing the intermediate </ol> <ol>
> you have placed a <p>...</p> within the ordered list.
> This is illegal unless the <p> is also inside an <li>.
>
> Curiously both Safari and Firefox on MacOS 10.6
> render your example as you intended, graceful failure
> in the face of incorrect markup...
>
> Peter Kerr
>
>
> .
>
>
2-9-2011+9-17-51+AM.gif