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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:54:56+00:00 2026-05-16T13:54:56+00:00

I am having this issue and I am hoping that it is so simple

  • 0

I am having this issue and I am hoping that it is so simple and that is why I can not figure it out.

I want to use an image divider inbetween navigation <li> elements.

Here is my CSS:

#nav {
    width:70.5%;
    padding-left:29.5%;
    list-style: none;
    margin: 0px auto;
    float:left;
    background-image:url(images/bk_nav.gif);
    background-repeat:repeat-x;
    display:block;
    text-align:center;
    #margin-top:-4px;
}


#nav li {
    float: left;
    margin: 0px;
    text-align:center;
    font: 13px/100% Helvetica, Arial, sans-serif;
    background-color:#cccccc;
}
.divide
{
    position:relative;
    float:left;
    width:4px;
    height:42px;
    background-image:url(images/divider.gif);
}
#nav a {
    color: #ffffff;
    text-decoration: none;
    text-align:center;
    padding: 14px 25px 14px 25px;
    font: 14px/100% Helvetica, Arial, sans-serif;
    display: block;
    text-align:center;
}

Here is the HTML:

<ul id="nav">
      <li class="page-item-2 current_page_item"><a href="index.html">Home</a></li><span class="divide"></span>
      <li class="page-item-20"><a href="aboutus.html">Our Program</a></li>
      <li class="page-item-10"><a href="econsus.html">Social</a></li>
      <li class="page-item-13"><a href="socialsus.html">Economic</a></li>
      <li class="page-item-15"><a href="envsus.html">Environmental </a></li>
      <li class="page-item-17"><a href="resources.html">Resources </a></li>
    </ul>

Currently I only have one divider in there because I am testing it. This code works fine in FF but IE is destroyed by it. Anyone shed some light on this frustrating situation?

UPDATE:

The one is right and the other is not. I was able to create the same error in FF so you can see both. (Just moved the <span>)

alt text

  • 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-16T13:54:57+00:00Added an answer on May 16, 2026 at 1:54 pm
    <ul>
      <li>list item</li>`
      <li class="divider"></li>
      <li>list item 2</li>
    </ul>
    

    Then, in order to make the divider appear closer to the list items, just adjust the margin/padding of the .divider class

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

Sidebar

Related Questions

I'm hoping non-IIS people can help me on this though the issue I'm having
Hoping someone can shed some light on this issue we are having because I'm
I'm hoping somebody can clear up this issue I am having. None of the
I'm having this issue where i use nth-child(odd) to color a table. In IE9
I am having this issue. I have a script that checks if variable exists,
so I am having this issue that has been driving me crazy for hours,
I am hoping you can help me unravel an issue I am having with
I'm having this weird issue and I'm hoping someone could clear this up for
PROBLEM SOLVED: I was overlooking a very simple issue, and that is that this
I am having this issue with Zend and Doctrine and I am hoping someone

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.