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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:04:52+00:00 2026-05-23T21:04:52+00:00

I am working with www.glustik.com/dustreeproductions/index.php The Entertainment link has a drop down menu, and

  • 0

I am working with http://www.glustik.com/dustreeproductions/index.php

The Entertainment link has a drop down menu, and I am trying to make it so that the drop down hovers still keep the Entertainment parent link to be in its hover state. (Does that make sense?) Also, this will be a double drop down in the near future.

My CSS :

#nav ul li:hover ul#sub li a {
display:block;
background:#e6e6e6;
color:#CC0066;
padding:5px 15px 0px 25px;
height:25px;
width:290px;
text-align: left;
border-bottom: 1px solid #f2f2f2;
border-right: none;
margin: 0 0;

}

HTML :

<div id="nav-box">
    <div id="main-nav">
        <div id="nav">
            <ul>
                <li id="company"><a title="Company" href="http://www.glustik.com/dustreeproductions/company.php"></a></li>
                <li id="entertainment"><a title="Entertainment" href="http://www.glustik.com/dustreeproductions/entertainment.php"></a>
                    <ul id="sub">
                    <li id="dance"> <a href="http://www.jasontanzer.com/guitarist-original-music.asp">Dance</a></li>
                        <ul id="subDance">
                            <li id="smiths"> <a href="http://www.jasontanzer.com/guitarist-original-music.asp">Smiths</a></li>
                        </ul>
                    <li id="classicRock"><a href="http://www.jasontanzer.com/guitarist-shows-covers.asp">Classic Rock | Top 40 | Rock</a></li>
                    <li id="country"><a href="http://www.jasontanzer.com/commercial-tv-film-jingles.asp">Country</a></li>
                    <li id="rockabilly"><a href="http://www.jasontanzer.com/composer.asp">Rockabilly | Reggae | Bluegrass | Other</a></li>
                    <li id="karaoke"><a href="http://www.jasontanzer.com/composer.asp">Karaoke | Live Band Karaoke | All Requests</a></li>
                    <li id="solos"><a href="http://www.jasontanzer.com/composer.asp">Solo's | Duo's | Trio's</a></li>
                    <li id="productionShows"><a href="http://www.jasontanzer.com/composer.asp">Production Shows</a></li>
                    <li id="dj"><a href="http://www.jasontanzer.com/composer.asp">DJ's</a></li>
                    </ul>
                </li>
                <li id="video"><a href="http://www.glustik.com/dustreeproductions/video.php"></a>
                </li>
                <li id="studio"><a href="http://www.glustik.com/dustreeproductions/studio.php"></a>
                </li>
                <li id="liveAudio"><a href="http://www.glustik.com/dustreeproductions/live-audio.php"></a>
                </li>
                <li id="eventPlanning"><a href="http://www.glustik.com/dustreeproductions/event-planning.php"></a>
                </li>
                <li id="contact"><a href="http://www.glustik.com/dustreeproductions/contact.php"></a>
                </li>
            </ul>
        </div> <!-- end Nav -->
    </div> <!-- end Main Nav -->
</div> <!-- end Nav Box -->

#nav ul li:hover ul#sub li a:hover {
background:#CCC;
color:#CC0066;
}
  • 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-23T21:04:53+00:00Added an answer on May 23, 2026 at 9:04 pm

    I am trying to make it so that the drop down hovers still keep the
    Entertainment parent link to be in its hover state.

    Change the selector here:

    #nav #entertainment a:hover {
        background-position:0 -20px;
    }
    

    into this:

    #nav #entertainment:hover > a
    

    That means: whenever the element with an id of entertainment (that’s inside an element with the id of nav) is hovered over, select any a elements that are direct children.

    You’ll have to make the “same change” for each of your other buttons.


    It’s not optimal to use #nav #entertainment .. – it’s an “overly qualified selector” (two ids).

    #entertainment .. is sufficient.

    See: http://code.google.com/speed/page-speed/docs/rendering.html#UseEfficientCSSSelectors

    It doesn’t make any practical difference – but, it is a best practise that you should try to adhere to.

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

Sidebar

Related Questions

I'm working on drop down menus for this: http://www.heroicdreams.com/wordpress/elderFlashSite.html In every other browser it
I'm working on this website http://www.eluminatecreative.com/new/index.html and where it says sum'r fling I need
I'm working with my simple PHP captcha algorithm ( http://www.source.ofitall.com/devel/captcha.php ) and I have
shorten('http://www.google.com'); ?> WORKING!!! $currenturl = (!empty($_SERVER['HTTPS'])) ? https://.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : http://.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; include('bitly.php'); $bitly = new
Here is the URL to the project im working on: http://www.buymyoldiphone.com/Ajax_Tests/TodTom/Social%20V2.0/NEW/index.html I tried to
I'm currently working on http://www.simco2.siteprogression.com/about-us.php and I'm having a display issue with the Fly-out
I have been working on figuring out how to make a double drop down
Here is the page I am working on: http://www.sackling.com/new_arrivals.php It seems to look good
I'm working on http://www.aceaofmidland.com/ and I'm trying to use jQuery and jQuery.cycle to cycle
I have this test page I am working from: http://www.problemio.com/test.php The problem happens when

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.