Results 1 to 12 of 12
  1. #1
    Star Lounger
    Join Date
    Sep 2002
    Location
    Detroit, Michigan, USA
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <OL> tags and ordered lists on HTML

    Packages like MS Word have the ability to assign outline indentation to paragraphs based on the style of the paragraph. That's an easy way to create a nice 1.1.1.1.1 and so on pattern just by adjusting the style of the paragraph worked on. Is there a -just as easy way- to do that wiith [list=1] on HTML?. Opening and closing tags can be a real pain when you deal with a large document. Thank you in advance.

  2. #2
    5 Star Lounger
    Join Date
    Apr 2003
    Location
    Hampshire, United Kingdom
    Posts
    602
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: <OL> tags and ordered lists on HTML

    Probably the best thing is to use the 'counter-increment' and 'counter-reset' properties in CSS. For more details and a worked example, see: Generated content, automatic numbering, and lists.

    <hr>Opening and closing tags can be a real pain when you deal with a large document.<hr>

    Opening and closing tags is what HTML is all about. If the file becomes so unwieldy that you can't cope with it, perhaps it may be worth seeking an alternative approach.
    Waggers
    If at first you do succeed, you&#39;ve probably missed something.

  3. #3
    5 Star Lounger
    Join Date
    Apr 2003
    Location
    Hampshire, United Kingdom
    Posts
    602
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: <OL> tags and ordered lists on HTML

    BTW, if you do find the tracking of html tags difficult (and I can certainly sympathise with that) there are a number of <img src=/S/free.gif border=0 alt=free width=30 height=15> text editors that help by colouring html tags etc. - it may be worth searching the Software Finds and Wants board as there have been several posted there in the past.
    Waggers
    If at first you do succeed, you&#39;ve probably missed something.

  4. #4
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: <OL> tags and ordered lists on HTML

    <img src=/S/hmmn.gif border=0 alt=hmmn width=15 height=15> Good find..bbbuuuutt I am worried about the CSS2 aspect as IE6 and lower cannot handle the :before and : after

    Of course this works in far superior browsers <img src=/S/wink.gif border=0 alt=wink width=15 height=15> and will like to see if IE7 can handle it, I have heard different tales and would love confirmation <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Jerry

  5. #5
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: <OL> tags and ordered lists on HTML

    DW

    I am just tagging this to your post for the time being in hope that someone with IE7 could test it for me.

    It is a copy from the link you gave and works in Firefox, but not in IE6........ How does it go with IE7?
    Jerry

  6. #6
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: <OL> tags and ordered lists on HTML

    This is now it looks to me in IE7.
    (I think this is the very first thing I have seen in it since installing it the other day.)
    Attached Images Attached Images
    Regards
    John



  7. #7
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: <OL> tags and ordered lists on HTML

    WOW

    This shows IE7 is not CSS2 compliant in respect to :before :after...


    Firefox sees it as:
    Jerry

  8. #8
    5 Star Lounger
    Join Date
    Apr 2003
    Location
    Hampshire, United Kingdom
    Posts
    602
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: <OL> tags and ordered lists on HTML

    In other words, IE7 comes with a load of bells and whistles (most of which Firefox already had) but still fails to get basic compliance right. <img src=/S/RollEyes.gif border=0 alt=RollEyes width=19 height=19>
    Waggers
    If at first you do succeed, you&#39;ve probably missed something.

  9. #9
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,571
    Thanks
    5
    Thanked 1,056 Times in 925 Posts

    Re: <OL> tags and ordered lists on HTML

    Joe

  10. #10
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: <OL> tags and ordered lists on HTML

    Wow thanks Joe.....some nice evening reading <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Jerry

  11. #11
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,571
    Thanks
    5
    Thanked 1,056 Times in 925 Posts

    Re: <OL> tags and ordered lists on HTML

    Particularly good for the odd night when you are having difficulty sleeping. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Joe
    Joe

  12. #12
    4 Star Lounger
    Join Date
    Jan 2002
    Location
    Brookings, South Dakota, USA
    Posts
    449
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: <OL> tags and ordered lists on HTML

    Wow, I don't think I've ever had that much difficulty sleeping <img src=/S/snore.gif border=0 alt=snore width=32 height=15>

    (From the first paragraph under the Introduction from your 2nd link (the non-Blog link)
    <hr>...recommended by the W3C in order that developers have a reliable set of functionality on which to rely.<hr>
    <img src=/S/hmmn.gif border=0 alt=hmmn width=15 height=15> I wonder who would have an reliable set of functionality on which you couldn't rely??
    <IMG SRC=http://www.wopr.com/w3tuserpics/gdrezek_sig.jpg>
    "Those who dance are considered insane by those who can't hear the music" - George Carlin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •