Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 648095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:47:42+00:00 2026-05-13T21:47:42+00:00

I am trying to create an ordered list on IE7 but for some reason

  • 0

I am trying to create an ordered list on IE7 but for some reason does not work.
Does anybody knows why this can be?
Update

The issue is that I cant see the numbers, thanks.

Thanks.

eg.

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

Update
As an example I saw this page where if you look at it on IE7 you wont see de numbers, but if you look at it on any other (but not ie) you will see the numbers.

http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:47:42+00:00Added an answer on May 13, 2026 at 9:47 pm

    This SSCCE works fine in all browsers from IE6 and up (IE6/7/8, FF2/3, Safari3, Chrome4, Opera9).

    <!doctype html>
    <html lang="en">
        <head>
            <title>SO question 2401705</title>
        </head>
        <body>
            <ol>
                <li>Item 1
                <li>Item 2
            </ol>
        </body>
    </html>
    

    It even works when I tried to replace the </ol> by the syntactically invalid <ol>. So, your problem lies somewhere else. You really need to elaborate the “Doesn’t work” in more detail. What exactly happens? What exactly happens not? Preferably edit your question to include an SSCCE (like above) and try to ask the question the smart way.

    Note, in contrary to what others say, a non-closing <li> is syntactically valid in normal HTML. It’s indeed invalid in XHTML, but I don’t see any reason to use XHTML unless you’re using a component based MVC framework or some other XML based tool to generate HTML pages.

    Update: you thus don’t see the numbers. Apparently you’ve set the margin of the ol to zero. This way they will get out of the view. The following SSCCE demonstrates it. It indeed fails in IE6/7.

    <!doctype html>
    <html lang="en">
        <head>
            <title>SO question 2401705 - IE6/7 problem</title>
            <style>ol { margin: 0; }</style>
        </head>
        <body>
            <ol>
                <li>Item 1
                <li>Item 2
            </ol>
        </body>
    </html>
    

    Don’t set the margin to 0. This may also be caused by a so-called CSS reset sheet. Don’t use them, just remember to specify the margins for all block elements yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create an ordered branching list of categories, so I can find
I'm trying to create a instruction list using ordered lists (ol). Inside I want
I am trying to create an ordered list of Motion Components , ordered by
I'm trying to create a list of events for an agenda. To do this,
I am trying to create a list of birth days, ordered by the dates,
I'm trying create a bot which automatically likes Facebook posts. Using Mechanize I can
Trying to create a black line in my view to separate text blocks but
Trying to create a new Dedicated Cache Role in Windows Azure but get the
Trying to create Database as follows: USE Master GO IF NOT EXISTS(SELECT [Name] FROM
Trying to create a macro which can be used for print debug messages when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.