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

  • Home
  • SEARCH
  • 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 6237639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:04:01+00:00 2026-05-24T11:04:01+00:00

I am using list style image to show dots for an unordered list. They

  • 0

I am using list style image to show dots for an unordered list. They are appearing a little far from text and i want to make the distance between the list text and dot a little less. I have tried padding and margin but nothing seems to work. Can somebody please suggest something.

  • 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-24T11:04:02+00:00Added an answer on May 24, 2026 at 11:04 am

    You could try a negative text-indent on the <li>:

    li {
        text-indent: -5px;
    }
    

    For example: http://jsfiddle.net/ambiguous/QgNxw/

    Browser support might be a bit dodgy (e.g. Opera and WebKit don’t render that fiddle the same way). You could also try using the :before pseudo-element to add your own bullet:

    .closer {
        list-style-type: none;
    }
    .closer:before {
        content: '•';
        margin-right: 3px;
    }
    

    For example: http://jsfiddle.net/ambiguous/eXxzH/

    But then you’ll have trouble with browsers that don’t understand :before; but everyone but IE7 and older understand :before so that might not be an issue.

    If CSS3 is okay, you might be able to do something with the ::marker pseudo-element.

    There isn’t that much fine grained control over how the bullets for a list item are rendered.

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

Sidebar

Related Questions

I'm having a problem using CSS's display:inline property with the list-style-image: property on <li>
I am using a list view in Android 1.5 to show a list of
I'm setting up a footer for a site and using an unordered list with
i'm using an image for li element. the problem is the text displayed under
I have a CSS/HTML list that is using an image as the background and
Using CSS Style Sheet for my Web page. I want to use a side
I'm using this code for slide show. I can't seem to get the image
I cannot seem to remove the indent from my unordered list when long lines
I'm .net newbie starting one project for fun. I'm using list box filled with
I am using a List Control to display a representation of elements within 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.