<ol> Lists in HTML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lindsey

    <ol> Lists in HTML

    Hi

    I just wanted to know if you are using <ol> tags in HTML can you
    specify which number to start at. E.g

    Instead of

    1. blad bla
    2. bla bla

    I want it to start of at.

    5. bla bla
    6. bala.

    I have 2 columns,the first <td> I want one to go from 1 - 4 and
    another <td> next to it to take points 5 - 8.

    If the above is not possible, can anyone suggest a way to make it look
    similar, ie the overflowing lines are tabbed in and don't flow under
    the bullet.???

    Thanks

    LC
  • Jukka K. Korpela

    #2
    Re: &lt;ol&gt; Lists in HTML

    lindsey.crocker @dragonphly.com (Lindsey) wrote:
    [color=blue]
    > I just wanted to know if you are using <ol> tags in HTML can you
    > specify which number to start at.[/color]

    Yes, e.g. <ol start="5">. Beware that there are problems in rendering
    if you use numbers with more than two digits (you should set
    margin-left for the ol element in CSS then).

    There is no CSS counterpart for the start="..." attribute (except in
    theory via marker properties, counters and generated content)
    [color=blue]
    > I have 2 columns,the first <td> I want one to go from 1 - 4 and
    > another <td> next to it to take points 5 - 8.[/color]

    Oh... that's a different issue. I don't think it's a good idea, since
    people naturally read rowwise on the Web.
    [color=blue]
    > If the above is not possible, can anyone suggest a way to make it
    > look similar, ie the overflowing lines are tabbed in and don't flow
    > under the bullet.???[/color]

    I don't think so. Netscape's <multicol> might have done that, but it
    only worked in Netscape 4 - though it surely wasn't among the worst
    ideas they invented.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

    Comment

    • Lindsey

      #3
      Re: &lt;ol&gt; Lists in HTML

      "Jukka K. Korpela" <jkorpela@cs.tu t.fi> wrote in message news:<Xns948C87 E38F611jkorpela cstutfi@193.229 .0.31>...[color=blue]
      > lindsey.crocker @dragonphly.com (Lindsey) wrote:
      >[color=green]
      > > I just wanted to know if you are using <ol> tags in HTML can you
      > > specify which number to start at.[/color]
      >
      > Yes, e.g. <ol start="5">. Beware that there are problems in rendering
      > if you use numbers with more than two digits (you should set
      > margin-left for the ol element in CSS then).[/color]


      Cheers works a treat!

      Comment

      Working...