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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:15:13+00:00 2026-06-10T23:15:13+00:00

I am trying to align a 2nd navigation bar that is shorter than the

  • 0

I am trying to align a 2nd navigation bar that is shorter than the original navigation bar, to meet the right hand side of the original. Probably doesn’t make much sense so here is an image to help:
http://i49.tinypic.com/nohno7.jpg

The CSS for top navigation bar is :

#nav { width:940px; height:40px; margin:0 auto; padding:0; font-size:105%; background:url(../images/bg-nav.png) 0 0 repeat-x; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; box-shadow:0 0 3px #ccc; }

The CSS for the 2nd navigation bar is :

#nav2 { width:547px; height:40px; margin:1px auto; padding:0; font-size:105%; background:url(../images/bg-nav.png) 0 0 repeat-x; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; box-shadow:0 0 3px #ccc; }

If anyone can help point me in the right direction that would be great.

Thanks a lot.

  • 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-10T23:15:14+00:00Added an answer on June 10, 2026 at 11:15 pm

    float:right might solve your question for the 2nd nav bar?

    EDIT: I guess I’ve got what your page look likes: your nav bars are just directly inside the body tag. So let’s do some small changes:

    1. Add a div holding your two nav bars. Let’s call it nav-bar.
      <div id="nav-bar"><!--1st nav--><!--2nd nav--></div>

    2. Add some css:
      #nav-bar {width:940px;height:80px; margin:0 auto; padding:0;}
      #nav2 {float:right;}

    And complete the rest of the css for nav2
    Hope this helps

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

Sidebar

Related Questions

I am trying to align 3 tables side-by-side. It doesn't work when I put
I am trying to align a part of text to the right and the
I have a small problem. I am trying to align two divs side by
I am trying to align some content in a td to the right. align=right
I'm trying to align a button to the right, whereas some other text is
I have an input in a form that I am trying to align in
I am trying to align some data in a c# struct that was created
I'm trying to align a css shape with the list icon. Right now it
My issue is trying to align my radio buttons so that they appear to
I am trying to align one of the navbars texts to the right but

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.