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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:21:14+00:00 2026-05-27T22:21:14+00:00

I want to nest an ordered list within a single unordered list item, such

  • 0

I want to nest an ordered list within a single unordered list item, such that the ordered list splits up the text of the list item. For example:

• An unordered point, text text text…

1. First ordered list item

2. Second ordered list item

…continued text from same unordered point.

• Another unordered point

I’m wondering what’s the proper way to code this? I’ve tried:

<ul>
  <li>An unordered point, text text text...
  <ol>
    <li>First ordered list item</li>
    <li>Second ordered list item</li>
  </ol>
  ...continued text from same unordered point.</li>
  <li>Another unordered point</li>
</ul>

but not sure if that’s the correct way to mark it up. Also, when I testing this in Chrome and FF, the line spacing before and after the nested ordered list does not balance out; I’m getting:

• An unordered point, text text text…

1. First ordered list item

2. Second ordered list item

…continued text from same unordered point.

• Another unordered point

  • 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-27T22:21:15+00:00Added an answer on May 27, 2026 at 10:21 pm

    This is the correct way, however you will need to play with the css to remove the margins on your nested list, which will fix your spacing problem.

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

Sidebar

Related Questions

I have method that run many times. I dont want to nest ifs inside
I'm looking to nest two conditionals within another conditional (if that makes sense) of
Is there any way to write decorators within a class structure that nest well?
I have a nest div that I want to hide on mouse over, and
Would I want to nest one function into another?
I have 2 repos, A and B and I want to nest B inside
I want to nest a for loop inside a batch file to delete carriage
here is my sample class to why i want to nest. include(class.db.php); class Cart
Possible duplicate: Populating HtmlTable Control with HtmlTable object in ASP/C# I want to nest
I want to nest some enums. The object i'm representing are Flags, with a

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.