Html Orderer List Doubt

Discussion in 'HTML & Website Design' started by hemanthjava, Nov 3, 2006.

  1. #1
    Suppose I have a ordered List like

    How do I implement These Kinda Nested Lists in HTML

    Regards,
    Hemanth
     
    hemanthjava, Nov 3, 2006 IP
  2. rafiseo

    rafiseo Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <ol>
    <li>hemanth</li>
    <li>Bob
    <ol>
    <li>balaji</li>
    <li>Shawn</li>
    </ol>
    </li>
    <li>Michael</li>
    </ol>

    you mean like this?
     
    rafiseo, Nov 3, 2006 IP
  3. hemanthjava

    hemanthjava Well-Known Member

    Messages:
    1,258
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    160
    #3
    No your soln shows as

    1. hemanth
    2. Bob
    1. balaji
    2. Shawn
    3. Michael


    What I want is

    Both "Balaji" and "Shawn" Should have 2.1 and 2.2 respectively.

    1. hemanth
    2. Bob
    2.1. balaji
    2.2. Shawn
    3. Michael
     
    hemanthjava, Nov 3, 2006 IP
  4. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #4
    <ol type="1">
    <li> Item 1
    <li> Item 2
    <ul>
    <li> Item 1
    <li> Item 2
    </ul>
    <li> Item 3
    <li> Item 4
    </ol>

    maybe a little cheesy:D
     
    sawz, Nov 4, 2006 IP