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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:19:12+00:00 2026-05-20T22:19:12+00:00

I am trying to create a basic navigation bar using an unordered list, but

  • 0

I am trying to create a basic navigation bar using an unordered list, but for some reason I can’t get the bullets to go away.

I have searched for a solution on Google and to me it seems like it SHOULD be working, but I think I might be messing up something that isn’t related to the style of the ul, which is in turn preventing the ul style from being applied.

Here is the relevant html:

<div id="nav">
    <ul>
        <li><a href="index.html">Home</a></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="example.html">Examples</a></li>
        <li><a href="contact.html">Contact Us</a></li>
    </ul>
</div>

and here is the CSS:

#nav ul
{
    list-style-type: none;
    position: absolute;
    top: 10px;
    right: 0;
    margin: 0;
    padding: 0;
}
#nav ul li
{
    float: left;
}
#nav ul li a
{
    display: inline;
    float: left;
    padding: 8px 5px 3px 5px;
    margin-right: 5px;
    background-color: #034a7f;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
#nav ul li a:hover
{
    padding-top: 12px;
    background-color: #075a97;
}
  • 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-20T22:19:13+00:00Added an answer on May 20, 2026 at 10:19 pm

    Just to be certain, I usually apply it to the lis too:

    #nav ul li
    {
        list-style-type: none;
        float: left;
    }
    

    Something else to check is to use a tool like firebug for firefox and right-click on a list-item and do a ‘inspect element’. From there you can see the styles that are actually applied to it and where they stem from, which ones are overriding which, etc.

    More than likely, what’s happening (with the other answer and comment) is that you’ve got some other style that’s making the bullets show up– which is where firebug will really help you out.

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

Sidebar

Related Questions

This seems so basic, but for some reason I can't get it to work.
I'm trying to create a basic navigation app using UINavigationController as root container for
Basically I'm trying to create a BASIC sorting program in ruby without using .sort
I'm trying to create a very basic Setup and Deployment project using Visual Studio.
I am trying to just create a basic layout, but i am having trouble
I'm trying to create a reusable component to display some photo collection. The basic
I am trying to create a basic datasheet in my application using a TableLayout.
Using the basic starting app from XCode for a navigation based application, I'm trying
I am trying to create a basic pricing table. The table can be of
I'm trying to create a basic for loop which creates an array but am

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.