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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:45:29+00:00 2026-06-15T21:45:29+00:00

I would like to change the bullet point in my unordered list to a

  • 0

I would like to change the bullet point in my unordered list to a block of colour that extends the entire depth of the list item, even if the list item wraps across multiple lines. All wrapped lines for a single list item need to indent at the same depth.

The ultimate effect I am looking for is one long coloured line down the side of the list

At the moment I am using an image set to the same depth as a single list line, but this obviously does not cover multiple lines. It also puts a small line break between them, and if the list item wraps, the wrapped text sits underneath the bullet

This is my current css

.content-main ul li {
  line-height: 1em;
  float:left;
  text-align:left;
  vertical-align:text-bottom;
  display:list-item;
  list-style-image: url('images/bullet.gif');
  list-style-position:inside;
}

Any pointers on this gratefully received

  • 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-06-15T21:45:31+00:00Added an answer on June 15, 2026 at 9:45 pm

    You have to switch over to containers (div, span) or something like that.

    <div>
      first
      <div>
         second
         <div>
         third 
         </div>
      </div>
    </div>
    

    css:

    div { border-left:1px solid red }

    This will generate lines from the items down to the end of the list.

    See my JSFiddle example http://jsfiddle.net/G82eQ/

    EDIT: Read your post again, to just display a line for each item – resulting in one long line left of the list, see http://jsfiddle.net/vENx3/

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

Sidebar

Related Questions

I have a ListView and each item have a TextView. I would like change
I would like to change visual studio's default configurations (Debug,Release). That is, change the
I would like to change the font-size in an HTML string that I have
I would like to change this code so that if the textName.text contains the
I would like to change the standard iPhone UITextField so that it looks exactly
I would like to change the contents of the list of a JComboBox (like
I would like to change the name of the ruby process that gets displayed
Using Javascript, I would like change the background color of the numbers in an
I would like to change the background color of the row (to red) when
I would like to change the default style for vector features in a map

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.