W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2010

Re: Amaya: unable to view figures in a web page

From: Keith Rubow <krubow@micro-aide.com>
Date: Thu, 02 Dec 2010 12:52:43 -0800
Message-ID: <4CF8071B.8020207@micro-aide.com>
To: www-amaya@w3.org
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
>
>
> .
>
>   
Received on Thursday, 2 December 2010 20:53:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:42 UTC