📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

HTML Problem with <ol> tag

Bizarre problem...

Have some code like this:

<ol>
<li>test</li>
<li>test</li>
<li>test</li>
</ol>

On some PC's it lists correctly as:

1. test
2. test
3. test

On mine and others, its

1. test
1. test
1. test

Testing on internet explorer, works ok on some IE8 versions, but not others. Target browser is IE only (govt stuff) so not testing against ff/chrome etc
Even tried setting the list type manually in CSS, no diff.

Ideas?

Comments

  • kwikbreaks
    kwikbreaks Posts: 9,187 Forumite
    This says it is a known IE6 bug.
  • can you change the ol to ul
  • jaydeeuk1
    jaydeeuk1 Posts: 7,714
    Debt-free and Proud!
    Forumite
    Yeah, got round it by using ul and setting list type to none with manually numbering them.

    It happens on IE 8 too, kwik, which is why I'm a bit stumped!
  • kwikbreaks
    kwikbreaks Posts: 9,187 Forumite
    I did see a mention of it still happpening in IE7 in the document my link linked on to but I'm surprised MS hadn't fixed it in IE8. Most of the circumventions seemed to centre around removing any sizing associated with the list elements. You're lucky it's a static list I guess.
  • I've had similar problems with IE, it is a nightmare. Considering how widely used it is you think it would be better. Why can't every just use a different browser?
  • kwikbreaks
    kwikbreaks Posts: 9,187 Forumite
    Why can't every just use a different browser?
    Bill Gates thought it would be far better just to have the one and we are still living with the fallout ....

    Every browser has some quirks. It's javascript where the real nightmares begin :eek:
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.9K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606.1K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.