[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

asp css menu

hey guys i am using css friendly dll to style my menu

but when i hover over the third sub menu all the 4th and 5 th and 6 th sub menu open?

please help

here my code

.Menu
{
      font-family: 'Open Sans' , sans-serif;
      font-size: 12px;
}
         
.Menu
{
      position: relative;
      width: 200px;
      background-color: #eee;
      border-top: 1px solid white;
      border-bottom: 1px solid white;
      padding: 0;
      margin: 0;
      list-style: none;
}

.Menu ul
{
      display: none;
      position: absolute;
      left: 0px;
      top: -1px; /* accommodate the border */
      margin: 0;
      padding: 0;
}

.Menu ul li ul
{
      display: none;
      position: absolute;
      left: 0px;
      top: 25px; /* accommodate the border */
}

.Menu ul li ul li ul
{
      display: none;
      position: absolute;
      left: 200px;
      top: -1px; /* accommodate the border */
}

.Menu ul li ul li ul li ul
{
      display: none;
      position: absolute;
      left: 200px;
      top: -1px; /* accommodate the border */
}

.Menu ul li ul li ul li ul li ul
{
      display: none;
      position: absolute;
      left: 200px;
      top: -1px; /* accommodate the border */
}

.Menu li a
{
      display: block;
      padding: 5px;
      margin: 3px;
}

.Menu li:hover
{
      background-color: #ccc;
}

.Menu li:hover > ul
{
      display: block;
}
0
JCWEBHOST
Asked:
JCWEBHOST
1 Solution
 
Kyle HamiltonData ScientistCommented:
you have changed the code i gave you in your other post. what you have here is incorrect. i think we should try to get your menu working like you want it in the original post.
0
 
JCWEBHOSTAuthor Commented:
ok
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now