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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:27:41+00:00 2026-05-16T04:27:41+00:00

So i have this dropdown made in html/css/js.. it slides down on mouseover, but

  • 0

So i have this dropdown made in html/css/js.. it slides down on mouseover, but right now it slides down wrong, i mean it moves my text down which i dont want it to do.. i want it to like float over it so the text is behind the menu that comes down

  • At left its how it is, and on right side its when mouse over.
    and as you can see the “example me” text i dont want it to move down like that, i want the menu to like float on top so when you move away your mouse again you can see “example me”

    Here’s my css for the menu:

    .menu_class {
        border:1px solid #1c1c1c;
    }
    
    .the_menu {
        display:none;
        width:150px;
        border: 1px solid #1c1c1c;
    }
    
    .the_menu li {
        background-color: #283d44;
    }
    
    .the_menu li a {
        color:#FFFFFF; 
        text-decoration:none; 
        padding:10px; 
        display:block;
    }
    
    .the_menu li a:hover {
        padding:10px;
        font-weight:bold;
        color: #fffc30;
    }
    
    <img src="images/button.png" width="126" height="23" class="menu_class">
    <ul class="the_menu">
    <li><a href="#">Profil</a></li>
    
    </ul>
    
    • 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-16T04:27:42+00:00Added an answer on May 16, 2026 at 4:27 am

      To have it positioned on top of other elements, you need to use

      .the_menu{
      position:absolute
      }

      If you have trouble positioning it, give position:relative to whatever element contains .the_menu

      Also be aware that z-index works well with absolutely positioned elements, if you run into the problem of having it show up behind something else.

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

    Sidebar

    Related Questions

    I have this HTML dropdown: <form> <input type=text id=realtxt onkeyup=searchSel()> <select id=select name=basic-combo size=1>
    I have this HTML code which simulates a dropdown multi-checkbox <div> <div class=select> <span>Select
    I have this dropdown. I need clone for my other dropdown lists: <select name=general>
    I have this jQuery call for a dropdown. On click, the background image of
    I have a simple dropdown menu and I'd like to have this menu close/hide
    I have a dropdown list. I am using onchange event of this dropdown to
    I have two dropdowns in extjs,based on the first dropdwon,the second dropdown populates.This is
    I have the dropdown list like this <?php echo $form->dropdownList($customers,'customer_name', CHtml::listData(Customers::model()->findAll(), 'id', 'customer_name'), array(
    I have a simple dropdown menu: <form class=feedmenu align=center> <select onchange=showRSS1(this.value)> <option value=>Select an
    I have a form with three different dropdown menus, it looks like this: <FORM

    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.