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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:44:17+00:00 2026-06-03T04:44:17+00:00

I have a nav bar with buttons that raise when you hover over them.

  • 0

I have a nav bar with buttons that raise when you hover over them. The problem is the content also raises with it. Its as if the content won’t stay static with its container. I’m using z-index so a lot of the positioning has to be relative, but playing around with other positioning doesn’t seem to help. This has been driving me nuts. Any suggestions?

Link removed for privacy, or whatever

I’m linking directly to the full page to show the full problem. Sorry if there’s a rule against that; I’m new here.

Also, its not finished yet and the code is really sloppy so, you know, don’t judge.

  • 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-06-03T04:44:18+00:00Added an answer on June 3, 2026 at 4:44 am

    First, the HTML for your nav is invalid. You’ve got anchor tags wrapping list items. You’re also doing a lot of tricks with negative margins because of floated elements. It would be better to add overflow:hidden; onto your nav ul and actually get those elements back into the viewport.

    However, to quickly fix your issue, you need to clear your content so it won’t be affected by the positioning going on in your nav. See below.

    #content {
        clear: left;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a nav that has subnavs. When the user hovers over the li's
I have this jquery code that goes through the nav bar and the selected
For my mobile-desktop nav-bar I have background buttons (default). On top I'm using :after
I have a nav bar with children unordered lists nested under the main navbar
I have a nav controller with a toolbar. I made the toolbar also appear
I am looking to create a Nav Bar in my Android application that functions
Is it possible to float a nav bar over a iframe here is the
I have a navigation bar at the top of my eform that skips to
I have a simple grouped uitableview with a nav bar and an Edit nav
I have a TableView, when you click add + button in nav bar, it

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.