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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:33:30+00:00 2026-05-29T20:33:30+00:00

I have a menu on a web page and I want to add some

  • 0

I have a menu on a web page and I want to add some emphais onto the element that my mouse is hovering over.
Before I hover my mouse the menu looks good and the alignment looks good. To add emphsis, I added a small arrow (or ‘>’ sign). The problem is that now the text jumps to the right by 2 characters.

I want to add the ‘>’ character without my menu text jumping the right. The correct behavior is that the text remains in p
lace and the arrow appears 2 spaces to the left of the hovered menu item.

Note I tried to change my alignment and the whole thing looks like crap. Only text-align: left gives it the correct alignment.

#leftMenu {
  position: absolute;
  top:28%;
  left:24%;
  height: 20%;
  width: 20%;
  font-weight:400
  font-size:0.5em;
}

#leftMenu a:hover:before {
  content: "> ";
}

How can I add the arrow without the text jumping to the right?

  • 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-29T20:33:32+00:00Added an answer on May 29, 2026 at 8:33 pm

    Just have the “>” already exist, just not visible. This way it will take up the real estate on the menu, so nothing will move when it appears. Here is a small example:

    CSS:

    #leftMenu {
      position: absolute;
      top:28%;
      left:24%;
      height: 20%;
      width: 20%;
      font-weight:400;
      font-size:0.5em;
    }
    
    .marker{
      visibility:hidden;
    }
    
    #leftMenu li:hover .marker{
      visibility:visible;
    }
    
    #leftMenu ul{
      list-style:none;
    }
    

    HTML:

    <div id="leftMenu">
      <ul>
         <li><span class="marker">&gt;</span><a href="#">Link 1</a></li>
         <li><span class="marker">&gt;</span><a href="#">Link 2</a></li>
         <li><span class="marker">&gt;</span><a href="#">Link 3</a></li>
      </ul>
    </div>
    

    I’m not really sure of the exact layout of your menu, but I think the above gets across the general idea.

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

Sidebar

Related Questions

I have web page i want to add the drop down menu On Reference
In my web page, I have a menu ( HorizontalPanel ) that should be
I have a web page consisting of a dropdown menu. What i want is
I have a menu on my page that is loaded on every page. The
I have magento 1.5.1.0 and I want to add an extra menu or tab
I have a web site that gets a new page every couple weeks, and
The Scenario I have an ASP.Net Web Project that uses a master page. This
Here is the scenario: I have 1 master page and web-forms in that master
I want to make a web page that uses 100% of screen space. I
I currently have a web page that has 2 tabs on it. The 2

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.