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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:40:42+00:00 2026-05-28T15:40:42+00:00

Newbe question here. When I do a mouse-over on a menu item then only

  • 0

Newbe question here.

When I do a mouse-over on a menu item then only fixed region is highlighted. The problem is that the next item on the menu consists of 2 long words and hover doesn’t cover it all, only a part of it.
Here is the code that makes it happen:

navlist {
    margin-left: -3px;
    padding-left: 0px;
    white-space: nowrap;
    position: absolute;
    height: 26px;
    width: 777px;
    top: 225px;
    background: url(images/mb2.jpg) repeat-x top left;
    font-family: Arial;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 20px;
}
#navlist li {
    display: inline;
    list-style-type: none;
}
#navlist li a {
    padding: 3px 10px;
    height: 20px;
    width: 91px;
    display: inline;
    position: absolute;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    margin-top: 5px;
}
#navlist li a span {
    padding: 3px 10px;
    height: 20px;
    width: 71px;
    display: inline;
    position: absolute;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    margin-top: -5px;
    font-weight: bolder;
}


#navlist a:hover {
    background: #0687eb;
    height: 10px;
    cursor: pointer;
}

Is it something that can be fixed (covering both words of menu item? I tried playing with width: 91px; value – the problem is that it can increase the area of being covered but hten it becomes to long and infringes on other menu items when you cover the first one)

Thanks.
Ideally I would like to highlight text only (letters of the text) – but not sure if it;s possible at all to do that for 2-words items)

Thank you.

  • 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-28T15:40:43+00:00Added an answer on May 28, 2026 at 3:40 pm

    Is your link in two lines of text and second line can not be hovered?
    If so, try to remove height from #navlist li a span. this may help, but can also break layout.

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

Sidebar

Related Questions

So I didn't see a question here that really answers this question. It's kinda
Newbie question here! I'm building a simple application that allows users to create and
Newbie question here, is there any inbuilt PHP tag that can be used to
Newbie SQL question here --> I've got an Occurrences table that contains a row
Ok, here goes a newbie question: //function removes characters and spaces that are not
Newbie question here. I'm in the beginning stages of laying out a site in
Pardon the dumb newbie question here; web programming isn't my forte... (blush) I have
Here is one more newbie question: require 'tasks/rails' I saw this line in Rakefile
This is sort of SQL newbie question, I think, but here goes. I have
Newbie question. I have a NSMutableArray that holds multiple objects (objects that stores Bezier

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.