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

  • Home
  • SEARCH
  • 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 8647127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:59:18+00:00 2026-06-12T12:59:18+00:00

Hello guys I have this drop down menu: <ul id=menu> <li class=dropDown><a>DropDown</a> <div id=container>

  • 0

Hello guys I have this drop down menu:

<ul id="menu">
<li class="dropDown"><a>DropDown</a>
   <div id="container">
       <div class="col1">
          <h3 class="has3">CheckOn</h3>
          <ul>
            <li><a href="#">Link1</a></li>
            <li><a href="#">Link2</a></li>
            <li><a href="#">Link3</a></li>
            <li><a href="#">Link4</a></li>
          </ul></div>
        <div class="col1">
         <h3 class="has3">MasterLink</h3>
        <ul>
            <li><a href="#">Link5</a></li>
            <li><a href="#">Link6</a></li>
            <li><a href="#">Link7</a></li>
            <li><a href="#">Link8</a></li>
        </ul></div>

    <div class="col1">
                    <h3 class="has3">MasterLink</h3>
        <ul>
            <li><a href="#">link9</a></li>
            <li><a href="#">link10</a></li>
            <li><a href="#">link11</a></li>
            <li><a href="#">link12</a></li>
        </ul></div>

    <div class="col1">
                    <h3 class="has3">MasterLink</h3>
        <ul>
            <li><a href="#">link13</a></li>
            <li><a href="#">link14</a></li>
            <li><a href="#">link15</a></li>
            <li><a href="#">link16</a></li>
        </ul></div>
</div>
</li>
</ul>

with this css:

#menu{background:#9c7d9e; padding:10px;}

#container{
    width: 550px;
    height: 150;
    border: 1px solid #c5a0b7;
    margin: 0 auto;
    display:none;
}

#mainContainer.dropDown:hover ul{
  display: block;
}

.col1{
float:left;
    margin:5px 20px 0px 20px;
    border-right:1px solid #eaeaea;
}

h3{
width:50px;
border-bottom:1px solid #ccc;
margin-bottom:5px;
  }

a{
text-decoration:none;
padding:5px 0;
}

Is not an ordinal menu because instead of hidden ul, I use a div with other divs inside that contain uls but the behavior should be the same when cursor pass over main li from menu should display container div

I dont want to change html structure because I need the menu to be designed exactly how it is.

fiddle: http://jsfiddle.net

  • 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-12T12:59:19+00:00Added an answer on June 12, 2026 at 12:59 pm

    You’re addressing the wrong element after :hover.
    http://jsfiddle.net/RwtHn/1419/

    using a div inside an li is frowned upon.

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

Sidebar

Related Questions

Hello Guys! I started learning python GUI development. Let's say I have this script:
hello guys i have this function for focus : fav[jj].setOnFocusChangeListener(new View.OnFocusChangeListener() { public int
Hello guys i have a problem streaming PDF files with php, i'm using this
Hello guys I have this code in main.php config file: 'components' => array( '[.........]',
Hello guys I have a map like this http://sinanisler.com/demo/map/ and as you can see
Hello Guys! Let's say I have some page which I got with this script:
Hello guys I have this video tutorial on Ruby on Rails and I see
Hello guys I have this weird problem with Razor Syntax. I have written the
I have this code: $abc = ' Hello Guys , Goodmorning'; I want to
Hello guys i have collection : public class ActionData { private int iD; public

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.