I hate to use such a vague subject line, but I don't know how else to describe this. Firefox has some sort of glitch, at least for two of us in the office, where it is not calculating the position of a CSS-based drop-down sub-menu properly. It's overlapping the top-level menu. Strangely, if you right-click on the element, they all snap into their correct positions.

You can see the site at http://dev.ntorus.com:6596/. Here's the relevant CSS:

#mainNav
{
    text-align: right;
    margin-right: 20px;
    padding: 50px 0 20px 0;
    margin-top: 0;
}

#mainNav li
{
    list-style-type: none;
    display: inline;
    font-size: 17px;
    font-weight: bold;
    margin-left: 8px;
    margin-right: 8px;
    letter-spacing:-.05em;
    position: relative;
}

#mainNav a
{
    color: #7C99C1;
}

#mainNav a:hover
{
    color: #083f88;
}

#mainNav ul
{
    visibility: hidden;
    width: 200px;
    display: block;
    position: absolute;
    margin-top: 0;
    right: 0;
    padding-top: 8px;
}

#mainNav ul li
{
    font-size: 12px;
    display: block;
}

#mainNav li:hover ul, #mainNav ul:hover
{
    visibility: visible;
}

Is this demonstrating any known issues or quirks, and is there a workaround for this?

  • Hmm, seems OK here in Firefox 3.5.7. Could it be the browser cache showing the problem for your office mates? PaulBM almost 7 years ago

1 answer

0
points
This was chosen as the best answer

Sorry, all, the sample of the problem is no-longer up. I worked around the issue by toggling the display between block and none rather than modifying visibility.

Answered almost 7 years ago by Jacob Page