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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:47:53+00:00 2026-05-30T19:47:53+00:00

I have a list that needs to look like this aa. Item 1 bb.

  • 0

I have a list that needs to look like this

aa. Item 1
bb. Item 2

I’ve tried doing this

<ol>
    <li style="list-style-type:none;">aa. <span style="padding-left:15px;">Item 1</span></li>
    <li style="list-style-type:none;">bb. <span style="padding-left:15px;">Item 2</span></li>
</ol>

This works perfectly, but my problem is when the text expands to line two it looks like this

aa. Item 1
Item 1 line continues here
bb. Item 2

I need it to look like this

aa. Item 1
    Item 1 line continues here
bb. Item 2

Is it possible to achieve this? Possible without counters, since it needs to be inline.

  • 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-30T19:47:55+00:00Added an answer on May 30, 2026 at 7:47 pm

    This link ought to do it for you. I have changed the spans to divs and set them to inline-block.

    link to fiddle

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

Sidebar

Related Questions

I have two tables that look like this: Supplier SN SNAME Stat City +----------+-------+----+--------+
I have some strings, entered by users, that may look like this: ++7 7++
If I have a list that contains a list that looks like this ['a',1]
Lets say I have a custom data type that looks something like this: public
We have a pojo that needs to have a list of integers. As an
I'm working on a project that needs to have a list of weekdays. I
I have a Silverlight 2.0 DataGrid that contains a list of items that needs
I have a list that I need to send through a URL to a
I have a list of images that need to be displayed. However theres only
I have a drop down list that has options that need to be passed

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.