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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:13:07+00:00 2026-05-19T03:13:07+00:00

I have a navigation that I made using CSS Sprites. The thing is I

  • 0

I have a navigation that I made using CSS Sprites. The thing is I have the logo for the website in the middle of the two halves of the navigation. So what I did was split the navigation into two parts; leftNav and rightNav. this cut down on my code for the link functions but here is my question. Originally leftNav and rightNav were their own DIV’s but after trying to clean up my code I made the two leftNav and rightNav that are inside of a div called navigation:

<div id="navigation" style="position:absolute; width:789px; height:29px; left:0; bottom:0; z-index:0; background:#ccc;">

        <ul id="leftNav" style="left:0;"> 
            <li><a class="leftLinkActive" href="index.html"><span>Home</span></a></li> 
            <li><a class="middleLink" href="#"><span>About</span></a></li>
            <li><a class="rightLink" href="#"><span>Flavors</span></a></li> 
        </ul>
        <ul id="rightNav" style="right:0;"> 
            <li><a class="leftLink" href="#"><span>Catering</span></a></li> 
            <li><a class="middleLink" href="#"><span>Community</span></a></li>
            <li><a class="rightLink" href="#"><span>Contact</span></a></li> 
        </ul>
    </div>

Here is the css:

#leftNav, #rightNav{
position:relative;
text-decoration: none;
list-style: none;
padding: 0;
margin: 0;
overflow: hidden;
width:324px; 
height:29px;
}



#leftNav li, #rightNav li{
    float:left;
}
#navigation #leftNav a{
    display: block;
    background-image: url("../images/leftNav.png");
    padding-top: 29px;
    text-decoration: none;
}
#navigation #rightNav a{
    display: block;
    background-image: url("../images/rightNav.png");
    padding-top: 29px;
    text-decoration: none;
}

So my problem is that the leftNav appears where it should, but I cant see the rightNav at all.
P.S. this is my first time actually coding the website, prior to this site I’ve only done the designing aspect.

I forgot to mention that the rollovers for the links are just moving the position of the bg. I left out the code for the rest or the website because it isnt relevant to the question.
-Thanks, meepz

  • 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-19T03:13:08+00:00Added an answer on May 19, 2026 at 3:13 am

    It’s rather annoying to figure out what you want without a live demo (or a jsFiddle/jsBin), but if I make these changes, I can at least see both of the ul:

    <ul id="leftNav" style="float:left"> 
    ...
    <ul id="rightNav" style="float:right"> 
    

    If this isn’t quite what you want, I recommend you show the relevant part of the design image.

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

Sidebar

Related Questions

No related questions found

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.