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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:54:51+00:00 2026-05-26T18:54:51+00:00

When I test in IE7, the menu jitters on first mouseover and changes position

  • 0

When I test in IE7, the menu jitters on first mouseover and changes position slightly. Also, when hovering over a menu item that contains a submenu, the menu jitters again. I think both issues have to do with IE7 hasLayout but I’m not sure.

JSFiddle

Is there a way to ensure hasLayout in the css for IE7 on my menu and sub-menu tags? Or, are there text nodes being inserted somehow in IE7? Thank you for your help.

  • 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-26T18:54:52+00:00Added an answer on May 26, 2026 at 6:54 pm

    Indeed you are right. Seems it was a hasLayout issue with IE7.

    I changed a CSS properties.

    #nav {
        margin: 70px 0px 0px -15px;
        padding: 0px;
        list-style: none;
        font-size: 14px;
        position: relative;
    }
    
    #nav li a {
        display: inline-block; /* changed it to inline-block for IE compatibility */
        width: 195px; /* declared width since it's now inline-block */
        padding: 0 0 0 15px; /* total width 210px with padding */
        text-decoration: none;
        line-height:20px; /* vertical center with line-height instead */
        color: #262626;
        height: 20px;
    }
    
    .subnav {
        margin: -26px 0 0 ;
        padding: 0;
        list-style: none;
        position: absolute;
        display: none;
        left:196px;
        background: #201d1e;
        width: 325px;
    }
    
    /* same idea as (#nav li a) */
    .subnav a {
        display: inline-block;
        color: #fff !important;
        padding: 0 0 0 15px;
        width: 310px;
        line-height:20px;
        height: 20px;
    }
    

    The sub-menu renders a few pixels higher that the modern browsers, but the -26px on .subnav can be adjusted with a IE7 stylesheet. I think it’s close to margin-top: -10px for IE7. Hope this works out.

    http://jsfiddle.net/marioluevanos/VAuYx/11/

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

Sidebar

Related Questions

The browser is IE7. I have no control over that. It sucks, but it's
The test driven development guys refer to a quick, exploratory, investigation that involves coding
I had a problem with the drop-down menu displaying behind a div, but that
I've met with strange issue in Selenium RC. When I use IE7 the test
I'm having some difficulty with a CSS only menu in Ie7. So far the
I test the code in IE7, FF, Chrome, Safari and this problem occurs in
here's test page , which looks differently in IE7, while OK in Firefox &
I've isolated a little test case of IE7's z-index bug, but don't know how
Is there a way to test IE7 functionality (intented to test the functionality of
I know that IE7 doesn't support the value inherit for any CSS properties except

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.