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 175781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:45:36+00:00 2026-05-11T13:45:36+00:00

I have an ordered list: <ol> <li>They used to bring concerns about their children

  • 0

I have an ordered list:

<ol> <li>They used to bring concerns about their children or their marriages. But increasingly parishioners are also telling Glen VanderKloot, a Lutheran minister in Springfield, Ill., about their financial worries, and that puts him in the unusual position of dispensing investment advice.</li> <li>This is the Second g</li> <li>This is the Third g</li> <li>This is the fourth g</li> <li> <strong>This is the fifth g</strong> </li> <li>This is the seventh g</li> <li>This is the eight g</li> <li>This is the ninth g</li> <li>This is the tenth g</li> <li>This is the eleventh g</li> <li>This is the twelvth g</li> </ol> 

It appears as follows:

1.  They used to bring concerns about their children or their marriages. But     increasingly parishioners are also telling Glen VanderKloot, a Lutheran     minister in Springfield, Ill., about their financial worries, and that puts     him in the unusual position of dispensing investment advice. 2.  This is the Second g 3.  This is the Third g 4.  This is the fourth g 5.  This is the fifth g 6.  This is the seventh g 7.  This is the eight g 8.  This is the ninth g 9.  This is the tenth g 10. This is the eleventh g 11. This is the twelvth g 

When I have a lot of text like the first item, I want it to be formatted like above. I was able to accomplish this by setting:

list-style-position:outside; 

and adjusting some margins on the li and ol tags. However, this had some adverse effects when I had double and triple digits. I had to use these margins as in IE the numbers were being cut off. I would like to be able to go back to use a list-style-position of inside and remove the margins but the text wraps under the number which is not what I want.

Does anyone know how to turn off this wrapping?

  • 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. 2026-05-11T13:45:36+00:00Added an answer on May 11, 2026 at 1:45 pm

    Using list-style-position:outside; would be more doable if you were using an unordered list, which would always take the same amount of space for the marker. Since you are using an ordered list, I would stick with list-style-position:inside;. The problem, as you’ve discovered, is that IE and Firefox make the same amount of space for the marker irregardless of the number of digits in the marker or the size of the font. So you need to take matters into your own hands by creating the space yourself. The trick here is to know that, by default, IE and Firefox use different properties to create the space. IE uses margin on the <ol> (30 points) while Firefox uses padding (40 pixels), so you’ll have to reset both of these values to achieve cross-browser happiness.

    Try this:

    ol {     margin-left: 0;     padding-left: 3em;     list-style-position: outside; } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ordered list (ol) on my page but the numbering is not
I have an ordered list in my Word document, and I want to add
We have an ordered list <ol> <li>something good</li> <li>even better</li> <li>possibly the best</li> </ol>
I have an ordered list which I have styled in two ways: Coloured the
I have an ordered list in HTML. I would like to add styling only
I have an ordered list like this: var list = new List<String>(){aaa,aab,aac,baa,bab,bac}; I want
I have an html ordered list with differnent types e.g <ol type=a> <li>This is
If you have a standard ordered list in HTML like: <ol> <li>First</li> <li>Second</li> <ol>
I have a need to store an ordered list of strings and am trying
I have a simple, always-consecutive-ordered list like this: all = [ 1, 2, 3,

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.