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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:17:20+00:00 2026-06-11T17:17:20+00:00

I’m a very beginner in html/css. I have created a one level dropdown menu

  • 0

I’m a very beginner in html/css. I have created a one level dropdown menu bar. I would like to make a 2nd level from the css that I have. Since I’m not sure about the code for the 2nd level, can anybody help me with the following css?

.menu ul{
    margin:0;
    padding:0;
    list-style:none;
}
.menu ul li {
    margin:0;
    height:41px;
    float:left;
    border-right:1px solid #efefef;
}
.menu ul li ul{
    margin:0;
    padding:0;
    list-style:none;
}
.menu ul li ul li {
    margin:0;
    height:41px;
    float:left;
    background:#fff;
    border-right:1px solid #efefef;
}
.menu ul li .dwn{
    float:right;
    top:-32px;
    color:#505050;
    margin-right:10px;
    position:relative;
    cursor:pointer;
}
.menu ul li a{
    padding:9px 28px 8px 28px;
    display:block;
    text-decoration:none;
    color:#303030;
}
.menu ul li a:hover{
    background:url(images/menu_hover_bg.png) repeat-x;
}
.menu ul li .act{
    background:url(images/menu_hover_bg.png) repeat-x;
}
.menu ul li a span{
    width:24px;
    height:24px;
    display:inline-block;
}
#menu li{
    position: relative;
}
#menu li:hover > ul{
    display: block;
}
#menu ul{
    list-style: none;
    margin:0;
    padding:0; 
    display:none;
    position:absolute;
    top:41px;
    z-index:99999;
    background: #f5f5f5;
    background: -moz-linear-gradient(top,  #fcfcfc 0%, #f5f5f5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f5f5f5));
    background: -webkit-linear-gradient(top,  #fcfcfc 0%,#f5f5f5 100%);
    background: -o-linear-gradient(top,  #fcfcfc 0%,#f5f5f5 100%);
    background: -ms-linear-gradient(top,  #fcfcfc 0%,#f5f5f5 100%);
    background: linear-gradient(to bottom,  #fcfcfc 0%,#f5f5f5 100%);
    -moz-border-radius: 2px;
    border-radius: 2px;
    border-left:1px solid #d9d9d9;
    -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}
#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    width:auto;
    display: block;
}
#menu ul .active{
    background: #fff9dc;
    font-weight:bold;
}
#menu ul a{
    border-bottom:1px solid #f4f4f4;
    height: 23px;
    display: block;
    padding-left:30px;
    white-space: nowrap;
    float: none;
    text-transform: none;
    font-size:14px;
    text-decoration:none;
    color:#303030;
}
  • 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-11T17:17:21+00:00Added an answer on June 11, 2026 at 5:17 pm

    use this tutorial
    http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery

    or check this out
    http://jsfiddle.net/RdcVk/3/

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
I have this code to decode numeric html entities to the UTF8 equivalent character.
I would like to run a str_replace or preg_replace which looks for certain words
I have thousands of HTML files to process using Groovy/Java and I need to
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have a jquery bug and I've been looking for hours now, I can't
I have just tried to save a simple *.rtf file with some websites and

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.