- From: Alma Hunt <ayesha.nk@gmail.com>
- Date: Tue, 1 Mar 2011 20:18:50 -0800 (PST)
- To: www-amaya@w3.org
I found a work-around for this. HAve a <ol start> tag after the image. A sample code follows. <ol> <li>list 1</li> <li>list 2</li> <li>list 3</li> </ol> <p>fig 1</p> <ol start="4"> <li>list 4</li> <li>list 5</li> </ol> Laurent Carcone-2 wrote: > > Hello, > > If 'figure 1' and 'figure 2' are images, you should have a structure > that looks like: > <ol> > <li>point 1 > <p> path to figure 1 </p> > </li> > <li>point 2</li> > <li>point 3 > <p>some text</p> > <p> path to figure 2 </p> > </li> > <li>point 4</li> > </ol> > > Hope this helps, > Laurent Carcone > > Alma Hunt wrote: >> In a simple way....I have something that resembles this... >> ------------------------- >> point 1 >> >> figure 1 >> >> point 2 >> point 3 >> >> some text >> >> figure 2 >> >> point 4 >> ----------------- >> Hope this helps. >> >> >> >> Keith Rubow-2 wrote: >> >>> What do you mean by "figures"? Ordered lists do not have "figures". If >>> you mean the bullets that unordered lists (<ul>'s) have, ordered lists >>> do not have bullets either, just numbers. >>> >>> Please clarify. >>> >>> Keith Rubow >>> >>> Alma Hunt wrote: >>> >>>> This is the code after I have removed the <p> tag... >>>> <ol> >>>> <li>Select the Help menu to view the available options.</li> >>>> <li>Click Software Updates. This opens the Software Updates and >>>> Add-ons >>>> page.</li> >>>> <li>Click the Available Software tab.</li> >>>> <li>Click Add Site. The Add Site window opens.</li> >>>> <li>Click Local and browse to the unzip path of >>>> mPortal_WDK_UpdateSite_X_XX_XX_Release, provided by mPortal during >>>> the >>>> release.</li> >>>> <li>Click OK. The added local site reflects in the list.</li> >>>> <li>Select the newly added site check-box and click Install. You will >>>> view >>>> the following screens.</li> >>>> <li>Click Finish. You will be prompted to restart Eclipse. After you >>>> restart, >>>> mPortal plug-in is available for use.</li> >>>> <li>To verify mPortal plug-in, go to New> Project. You will see >>>> the >>>> mPortal WDK option as shown in Chapter 3: Detailed Feature >>>> Description.</li> >>>> </ol> >>>> >>>> To my surprise the figures have also disappeared. Kindly help. >>>> >>>> >>>> >>>> >>>> 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 >>>>>> >>>>>> >>>>>> . >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> >> >> > > > > -- View this message in context: http://old.nabble.com/Amaya%3A-unable-to-view-figures-in-a-web-page-tp30357315p31046494.html Sent from the w3.org - www-amaya mailing list archive at Nabble.com.
Received on Wednesday, 2 March 2011 04:19:19 UTC