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

The Archive Base Latest Questions

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

In order to properly place a bullet image on each navigation li element we

  • 0

In order to properly place a bullet image on each navigation li element we normally use the background property to place it.

If however, we wish to, also, add a background change to the list, we should set our anchors inside li to have “display:block;”

Problem:
Once we add “display:block” to our element and we set a background color, our bullet will vanish.

What is the best way to have a menu that will:
Change the background color when the user overs it,
but that doesn’t also loose the bullet ?

Update:
Please take into consideration the following code:
http://jsfiddle.net/4PUFa/1/

k. regards

  • 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-27T05:21:13+00:00Added an answer on May 27, 2026 at 5:21 am

    You should not be using the background property for list bullets. You should be using this:

       ul { list-style-image: url(path/yourImage.gif); }
    

    which still leaves background for background work.

    EDIT: For a right image (per your comment), I can make two possible suggestions, but only one will work for IE7, so I will offer that only:

    Put the bullet in the background of the a tag and change the color on the li.

    Like so: http://jsfiddle.net/4PUFa/3/

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

Sidebar

Related Questions

I have two Entity classes: Order and OrderItem . Order contains a navigation property
Which property should I change on Info.plist in order to configure the list of
I can never remember the order of the shorthand property for setting the margin
I try to set the anchorPoint property, in order to rotate a view by
In order to fully use LinqToSql in an ASP.net 3.5 application, it is necessary
I would like how to use the not in XPath properly. I just can't
My question here is if I should place a RowVersion [TimeStamp] property in every
I'm currently working on a problem where I need to properly order (using something
I have a list of objects and want to order them by some property
I'm trying to use the jQuery when function, in order to wait until an

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.