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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:59:09+00:00 2026-06-09T11:59:09+00:00

I applied a list-style-type to an unordered list that is an image. As you

  • 0

I applied a list-style-type to an unordered list that is an image. As you can see below, my unordered list has an additional unordered list in it.

I would like for the nested unordered list to have a ‘circle’ list-style-type, that is why I used an inline style for the nested unordered list.

The problem I am having is it is still displaying the green-checkmark for the list-style in the nested list, instead of the circle list-style.

So far, every time I used inline css it overrode any external style rules, that is why I am not sure what I should do in this case, I appreciate any advice.

css

ul{list-style-image:url(images/green-checkmark.png);}

Markup

<ul>
    <li>hello</li>
    <li>animals
         <ul style="list-style-type:circle;">
           <li>cats</li>
           <li>dogs</li>
           <li>rats</li>
            <li>hogs</li>
            <li>snakes</li>
            <li>frogs</li>
        </ul>
    </li>
    <li>onions</li>
</ul>
  • 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-09T11:59:10+00:00Added an answer on June 9, 2026 at 11:59 am

    Try <ul style="list-style-type:circle; list-style-image: none;">.

    The two properties are different. If you have set any list-style-image it overrides list-style-type, the latter only being used if the image is not available (as a back-up). So to force the image to not be used, it needs to be explicitly told to not use the image in this case.

    You should actually be able to set it up like so:

    ul{
      list-style-image:url(images/green-checkmark.png);
      list-style-type:circle; /* back-up */
    }
    

    Then if doing inline: <ul style="list-style-image: none;">

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

Sidebar

Related Questions

I have css like this: .done {list-style-image:url('images/tick.gif')} .notdone {list-style-image:url('images/cross.gif')} And html like this: <ul>
I have a scss file that defines a list-style-type. An excerpt of this file
I have some CSS like this: #navBar ul { list-style-type:none; margin:0; padding:0; } #navBar
I've got a stylesheet that will not, for whatever reason, apply list-style-type to a
I am looking to remover the circle bullet list style that is currently applied
I have an unordered list and each of the item in the ul has
Ok, so i have an unordered list with a background applied to it. I
I would like to allow multiple fonts to be applied to dynamically generated content
I would like to add a border radius to a list of items but
CSS li.advantageItem { list-style-image: url('images/check.png'); list-style-position: outside; color: #000000; } HTML <ul class=advantageItem> <li

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.