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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:23:15+00:00 2026-06-10T12:23:15+00:00

I have been using my free time to improve my HTML knowledge during my

  • 0

I have been using my free time to improve my HTML knowledge during my holiday.

During the time I was designing a CSS Menu. I face some problem and don’t know how to solve them.

I tried to search from Google. Because of my poor English, I was unable to find a solution, so I seek help here.

Problem:

I tried to design a CSS Menu with Expandable sub-menu.
Why doesn’t the sub-menu’s parent list change?

As you can see from the screenshot. The Product menu is different with others.

Is there any solution?

ScreenShot

Due to my reputation I can’t provide a screenshot, so I’ll provide a link:

http://i151.photobucket.com/albums/s155/HongJaiz/CSSMenu.jpg

CSS3 Coding

body{
    position: relative;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#fff));

}

.navbox {
    position: relative;
    float: left;
}

ul#expList {
    list-style: none;
    display: block;
    width: 200px;
    position: relative;
    padding: 60px 0 60px 0;
    background: url(shad2.png) no-repeat;
    -webkit-background-size: 50% 100%;
}

li#expList {
    list-style: none;
    display: block;
    width: 200px;
    position: relative;
    padding: 60px 0 60px 0;
    background: url(shad2.png) no-repeat;
    -webkit-background-size: 50% 100%;
}

ul li {
    list-style: none;
}

li {
    margin: 5px 0 0 0;
}

ul#expList li a {
    -webkit-transition: all 0.3s ease-out;
    background: #cbcbcb url(border.png) no-repeat;
    color: #174867;
    padding: 7px 15px 7px 15px;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    width: 100px;
    display: block;
    text-decoration: none;
    -webkit-box-shadow: 2px 2px 4px #888;
}

ul#expList li a:hover {
    background: #ebebeb url(border.png) no-repeat;
    color: #67a5cd;
    padding: 7px 15px 7px 30px;
}

HTML Coding

<ul id="expList">
    <li class="home"><a href="">Home</a></li>
    <li class="freebies">Product
        <ul>
            <li><a href="">List 1</a></li>
            <li><a href="">List 2</a></li>
            <li><a href="">List 3</a></li>
        </ul>
    </li>
    <li class="about"><a href="">Register</a></li>
    <li class="about"><a href="">About Us</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-06-10T12:23:17+00:00Added an answer on June 10, 2026 at 12:23 pm

    just coz you have given style to <a></a> of <li></li> and in case of parent of submenu i.e Product you haven’t wrapped it in <a></a> tag, doing so will solve your problem

    <ul id="expList">
        <li class="home"><a href="">Home</a></li>
        <li class="freebies"><a>Product</a>
            <ul>
                <li><a href="">List 1</a></li>
                <li><a href="">List 2</a></li>
                <li><a href="">List 3</a></li>
            </ul>
        </li>
        <li class="about"><a href="">Register</a></li>
        <li class="about"><a href="">About Us</a></li>
    </ul>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using TortoiseSVN for some time and I really like it. I
I have been using Grails for some time now, but in school they are
I have been using netbeans GUI editor for some time now to design a
I have been using Selenium (WebDriver) for some time now, utilising Microsoft Team Foundation
I have been using an API to do some work. This is how I
I have been using some Javascript to create a text field once an certain
I have been stuck on this for some time. Let's say I have a
I've been using C on some projects for a master's degree but have never
I have been having some issues with LINQ-To-SQL around memory usage. I'm using it
I have been interested in learning Rails for some time now and feel now

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.