Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Numbers in ordered lists

Reply
Thread Tools

Numbers in ordered lists

 
 
Luigi Donatello Asero
Guest
Posts: n/a
 
      05-04-2004
How can I display numbers (1-2-3-4-5, a number for each paragraph) in the
ordered list which I used on the following page?
http://www.scaiecat-spa-gigi.com/it/mediazione1.html

--
Luigi ( un italiano che vive in Svezia)
http://www.italymap.dk/sv/italienkarta.html
http://www.scaiecat-spa-gigi.com/it/svezia.html





 
Reply With Quote
 
 
 
 
Mitja
Guest
Posts: n/a
 
      05-05-2004
Luigi Donatello Asero <>
(news:uzVlc.58020$) wrote:
> How can I display numbers (1-2-3-4-5, a number for each paragraph) in
> the ordered list which I used on the following page?
> http://www.scaiecat-spa-gigi.com/it/mediazione1.html


Um... but you already do. Or did you mean without the dots?

There are ways to do it using CSS, but it's poorly supported, so if you
insist on plain numbers, use manual numbering.

Mitja


 
Reply With Quote
 
 
 
 
Duende
Guest
Posts: n/a
 
      05-05-2004
While sitting in a puddle Luigi Donatello Asero scribbled in the mud:

> How can I display numbers (1-2-3-4-5, a number for each paragraph) in the
> ordered list which I used on the following page?
> http://www.scaiecat-spa-gigi.com/it/mediazione1.html
>

Use ordered list
<ol>
<li>
<li>
<li>
<li>
<li>
<li>
<li>
<li>
</ol>

--
Duende
 
Reply With Quote
 
Luigi Donatello Asero
Guest
Posts: n/a
 
      05-06-2004

"Duende" <> skrev i meddelandet
news:Xns94E0AB06B971Cspamxxwipkipbiz@130.133.1.4.. .
> While sitting in a puddle Luigi Donatello Asero scribbled in the mud:
>
> > How can I display numbers (1-2-3-4-5, a number for each paragraph) in

the
> > ordered list which I used on the following page?
> > http://www.scaiecat-spa-gigi.com/it/mediazione1.html
> >

> Use ordered list
> <ol>
> <li>
> <li>
> <li>
> <li>
> <li>
> <li>
> <li>
> <li>
> </ol>
>
> --
> Duende

Yes, but I have already <ol>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ol>


--
Luigi ( un italiano che vive in Svezia)
http://www.italymap.dk/sv/italienkarta.html
http://www.scaiecat-spa-gigi.com/sv/...eralghero.html




 
Reply With Quote
 
Duende
Guest
Posts: n/a
 
      05-06-2004
While sitting in a puddle Luigi Donatello Asero scribbled in the mud:

> Yes, but I have already <ol>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> </ol>


<ul><li><h2>Informazioni generali</h2></li>

all I see is <ul>

Try <ol type="1">

--
Duende
 
Reply With Quote
 
Neal
Guest
Posts: n/a
 
      05-06-2004
On 6 May 2004 17:30:46 GMT, Duende <> wrote:

> While sitting in a puddle Luigi Donatello Asero scribbled in the mud:
>
>> Yes, but I have already <ol>
>> <li></li>
>> <li></li>
>> <li></li>
>> <li></li>
>> <li></li>
>> </ol>

>
> <ul><li><h2>Informazioni generali</h2></li>
>
> all I see is <ul>
>
> Try <ol type="1">
>


That's deprecated, so watch the doctype. Besides, type="1" is default
anyhow.

This HTML

<ol>
<li><p>blah blah blah.</p></li>
<li><p>blah blah blah.</p><p>blah blah blah.</p></li>
<li><p>blah blah blah.</p></li>
</ol>

will be rendered similar to this.

1. blah blah blah.

2. blah blah blah.

blah blah blah.

3. blah blah blah.
 
Reply With Quote
 
Duende
Guest
Posts: n/a
 
      05-06-2004
While sitting in a puddle Neal scribbled in the mud:

> Besides, type="1" is default anyhow


I knew that. That's why I didn't put it in the first time.

--
Duende
 
Reply With Quote
 
Luigi Donatello Asero
Guest
Posts: n/a
 
      05-06-2004

"Neal" <> skrev i meddelandet
news...
> On 6 May 2004 17:30:46 GMT, Duende <> wrote:
>
> > While sitting in a puddle Luigi Donatello Asero scribbled in the mud:
> >
> >> Yes, but I have already <ol>
> >> <li></li>
> >> <li></li>
> >> <li></li>
> >> <li></li>
> >> <li></li>
> >> </ol>

> >
> > <ul><li><h2>Informazioni generali</h2></li>
> >
> > all I see is <ul>
> >
> > Try <ol type="1">
> >

>
> That's deprecated, so watch the doctype. Besides, type="1" is default
> anyhow.
>
> This HTML
>
> <ol>
> <li><p>blah blah blah.</p></li>
> <li><p>blah blah blah.</p><p>blah blah blah.</p></li>
> <li><p>blah blah blah.</p></li>
> </ol>
>
> will be rendered similar to this.
>
> 1. blah blah blah.
>
> 2. blah blah blah.
>
> blah blah blah.
>
> 3. blah blah blah.


It seems to work now on the page
http://www.scaiecat-spa-gigi.com/it/mediazione1.html.
On the page http://www.scaiecat-spa-gigi.com/it/mediazione2.html , however
the numeration should continue from the previous page and not beginning from
1.
I wonder how I could do that.
--
Luigi ( un italiano che vive in Svezia)
http://www.italymap.dk/sv/italienkarta.html
http://www.scaiecat-spa-gigi.com/sv/...eralghero.html





 
Reply With Quote
 
Duende
Guest
Posts: n/a
 
      05-06-2004
While sitting in a puddle Luigi Donatello Asero scribbled in the mud:

> It seems to work now on the page
> http://www.scaiecat-spa-gigi.com/it/mediazione1.html.
> On the page http://www.scaiecat-spa-gigi.com/it/mediazione2.html ,
> however the numeration should continue from the previous page and not
> beginning from 1.
> I wonder how I could do that


<ol start="7"></ol>

--
Duende
 
Reply With Quote
 
Luigi Donatello Asero
Guest
Posts: n/a
 
      05-07-2004

"Duende" <> skrev i meddelandet
news:Xns94E1AAB56738Cspamxxwipkipbiz@130.133.1.4.. .
> While sitting in a puddle Luigi Donatello Asero scribbled in the mud:
>
> > It seems to work now on the page
> > http://www.scaiecat-spa-gigi.com/it/mediazione1.html.
> > On the page http://www.scaiecat-spa-gigi.com/it/mediazione2.html ,
> > however the numeration should continue from the previous page and not
> > beginning from 1.
> > I wonder how I could do that

>
> <ol start="7"></ol>
>
> --
> Duende


If I use <ol start="7"> IE shows the numbers I want but the page does not
validate as HTML 4.01 strict.


--
Luigi ( un italiano che vive in Svezia)
http://www.italymap.dk/sv/italienkarta.html
http://www.scaiecat-spa-gigi.com/sv/...eralghero.html





 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ordered list inside ordered list DL Javascript 6 11-21-2009 11:43 PM
ordered lists vs unordered lists Roedy Green HTML 7 08-30-2008 10:02 PM
List of lists of lists of lists... =?UTF-8?B?w4FuZ2VsIEd1dGnDqXJyZXogUm9kcsOtZ3Vleg==?= Python 5 05-15-2006 11:47 AM
Setting the distance between numbers and text in an ordered list. richard_quick_uk@hotmail.com HTML 3 07-30-2005 02:53 AM
Re: Numbers in ordered lists Luigi Donatello Asero HTML 0 05-06-2004 10:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57