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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:38:33+00:00 2026-05-27T15:38:33+00:00

I have my navigation menu working perfectly. But when I apply the selected class

  • 0

I have my navigation menu working perfectly. But when I apply the selected class to any of my items in the navigation list other than the ‘Home’ link, it pushes my navigation menu into two lines. I’ve tried everything but can’t seem to figure the problem out.

Also this only happens in Chrome. I tried it on Firefox on Windows and Mac and it worked perfectly.

I tried adding a slash to the end of About and that seemed to push the ‘About’ word out but keep the slash still on the second line.

Can anyone please help? I can’t seem to figure this out.

A picture of what I’m talking about:

error

Here is my menu code with the home selected:

<div id="navigation"> <!-- Start navigation -->
                    <ul>
                        <li><a class="selected" href="index.html">Home \</a></li>
                        <li><a href="#">Shop <span>\</span></a></li>
                        <li><a href="collection.html">Collection <span>\</span></a></li>
                        <li><a href="#">Press <span>\</span></a></li>
                        <li><a href="#">Video <span>\</span></a></li>
                        <li><a href="about.html">About</a></li>
                    </ul>

And here is the code with the About link selected:

<div id="navigation"> <!-- Start navigation -->
                    <ul>
                        <li><a href="index.html">Home <span>\</span></a></li>
                        <li><a href="#">Shop <span>\</span></a></li>
                        <li><a href="collection.html">Collection <span>\</span></a></li>
                        <li><a href="#">Press <span>\</span></a></li>
                        <li><a href="#">Video <span>\</span></a></li>
                        <li><a class="selected" href="about.html">About</a></li>
                    </ul>
                </div> <!-- End navigation -->

And the CSS:

#navigation { clear: both; float: right; margin-top: 30px; }
#navigation ul li { display: inline; margin-right: 10px; }
#navigation ul li a { font-family: "Lucida Console"; font-size: 19px; color: #B3B3B3; text-decoration: none; text-transform: uppercase; }
#navigation ul li a span { font-size: 12px; vertical-align: middle; }
#navigation ul li a.selected { color: #6a6a6a; }
  • 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-27T15:38:34+00:00Added an answer on May 27, 2026 at 3:38 pm

    I think there is a class being applied for .selected that you are missing. The about link looks larger to me. Have you inspected in Firebug?

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

Sidebar

Related Questions

I'm trying to create a navigation menu with menu items that don't always have
I have designed a Navigation Menu, it work fine on Chrome and Firefox but
**I currently have this jQuery drop menu working fine but I'm wanting the parent
I am working on a site. And have some menu. But i have a
I am working on a website where I have to use dynamic navigation menu
I'm building a navigation system using jquery scrollto. I have my navigation menu in
I am writing a css code for a webpage, i have a navigation menu
I am using a table navigation menu in my website in that i have
I'm working on this site www.annapogossova.com for a friend. Currently the menu navigation is
I have a top navigation and a side one Home | Tours | Booking

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.