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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:10:08+00:00 2026-05-18T02:10:08+00:00

can someone please recommend a horizontal navigation bar with a horizontal second tier that

  • 0

can someone please recommend a horizontal navigation bar with a horizontal second tier that uses images. When the user hovers over an image, a mouse over changes the image.

Something similar to this….http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/ but using images.

i started off working on this and have gotten quite far , but since i used images for the secondary nav bar, i can only get my images to display as vertical rather than horizontal.

I know the offending class is this one below, when the secondary nav is set to horizontal. As when i added different classes….boyLink and girlLink to the tag, it started displaying vertical. I’m not sure if i should be adding boyLink and girlLink to ul#topnav li span a ?
:

/--Show subnav on hover--/
ul#topnav li span a
{
display: inline;
}

ul#topnav
{
margin: 0;
padding: 0;
float: left;
width: 970px;
list-style: none;
position: relative;
font-size: 1.2em;
}

    ul#topnav li
    {
        float: left;
        margin: 0;
        padding: 0;
        background-color: Red;
    }

    ul#topnav li a
    {
        padding: 0px 0px 0px 0px;
        margin: 0px;
        display: block;
        text-decoration: none;
    }


    ul#topnav li span
    {
        float: left;
        margin: 0;
        padding: 0;
        position: absolute;
        left: 0;
        top: 25px;
        display: none; /*--Hide by default--*/
        width: 970px;
    }

    ul#topnav li:hover span
    {
        display: block;
    }       


    /*--Show subnav on hover--*/
    ul#topnav li span a
    {
        display: inline;
        float:left;
    }


    /*--Since we declared a link style on the parent list link, we will correct it back to its original state--*/
    ul#topnav li span a:hover
    {
        text-decoration: underline;
        display: inline;
    }

    img
    {
        border: none;
    }

    ul#topnav li #homeLink
    {
        width: 51px;
        height: 25px;
        display: block;
        background-repeat: no-repeat;
        background-image: url("Content/Images/Nav/nav01U.jpg");
    }

    ul#topnav li:hover #homeLink:hover
    {
        background-image: url("Content/Images/Nav/nav01.jpg");
    }

    ul#topnav li #collectionLink
    {
        width: 97px;
        height: 25px;
        display: block;
        background-repeat: no-repeat;
        background-image: url("Content/Images/Nav/nav02U.jpg");
    }

    ul#topnav li:hover #collectionLink:hover
    {
        background-image: url("Content/Images/Nav/nav02.jpg");
    }       


    ul#topnav li:hover #contactUsLink:hover
    {
        background-image: url("Content/Images/Nav/nav06.jpg");
    }

    ul#topnav li:hover span .girlLink
    {
        width: 38px;
        height: 31px;
        display: block;
        background-repeat: no-repeat;
        background-image: url("Content/Images/Nav/snav01U.jpg");
    }

    ul#topnav li:hover span .girlLink:hover
    {
        background-image: url("Content/Images/Nav/snav01.jpg");
    }



    ul#topnav li:hover span .boyLink
    {
        width: 37px;
        height: 31px;
        display: block;
        font-size: 10px;
        text-decoration: none;
        background-repeat: no-repeat;
        background-image: url("Content/Images/Nav/snav02U.jpg");
    }

    ul#topnav li:hover span .boyLink:hover
    {
        background-image: url("Content/Images/Nav/snav02.jpg");
    }



</style>

Html Code

  •     <li>
            <a href="collection.aspx" id="collectionLink">&nbsp; </a>
    
            <!--Subnav Starts Here-->
            <span>
                <a href="girl.aspx" class="girlLink">&nbsp; </a>
                <a href="boy.aspx" class="boyLink">&nbsp; </a>
            </span>
            <!--Subnav Ends Here-->
    
        </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-05-18T02:10:09+00:00Added an answer on May 18, 2026 at 2:10 am

      If you change your a’s display: inline to float: left it will work.

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

    Sidebar

    Related Questions

    Can someone please point me to articles or books that discusses different programming paradigm
    Can someone please derive a concrete example from the following: http://www.urdalen.com/blog/?p=210 ..that shows how
    Can someone please confirm to me that when my application is written in .NET
    Can someone please point me to the easiest way to have a timer in
    Can someone please let me know how to get the different segments of the
    Can someone please explain me what's the difference between Swing and AWT? Are there
    Can someone please explain why int (0.4 * 10.0) is 4 yet int ((2.4
    Can someone please help me out with printing the contents of an IFrame via
    Can someone please explain why this program outputs 0x00000004? class AndAssignment { static void
    Can someone please explain what the & does in the following: class TEST {

    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.