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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:00:35+00:00 2026-05-14T21:00:35+00:00

How could I have the tab to be on hover mode while I rollover

  • 0

How could I have the tab to be on hover mode while I rollover the drop down sub-menu.
Does it require javascript or it could be done solely on CSS?

 <li id="anchor" class="title dropdown"><a href="#">Main Tab</a>
                <div class="column">                    
                    <ul>
                        <li class="subtitle">Button 1</li>
                        <li class="subtitle">Button 2</li>
                        <li class="subtitle">Button 3</li>
            </div>        
        </li>
  • 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-14T21:00:35+00:00Added an answer on May 14, 2026 at 9:00 pm

    As matpol suggested, you can use css to do it, and use the css hover fix to sort it in IE.

    As a side note, you don’t need that div in there, everything you need to do style wise can be done by styling the nested li element (you also need to close the second ul too). I’m guessing its just a quickly done code snippet anyway, but I thought I’d bring it up 🙂

    Update;

    Tbh howver mega the dropdown is, you shouldn’t need divs in that level (you can put them in the <li>‘s if you need to).

    Something like this…

    <li id="anchor" class="title dropdown"><a href="#">Main Tab</a>
      <ul class="column">
        <li class="subtitle">Button 1</li>
        <li class="subtitle">Button 2</li>
        <li class="subtitle">Button 3</li>
      </ul>        
    </li>
    
    /* styles */
    
    
    li#anchor:hover {
      /* Styles for tab hover state, will be in effect when you're hovering over any child ul/li elements */
    }
    
    li#anchor ul.column {
      display: none; 
      /* Styles for this ul, float, position etc */
    }
    
    li#anchor:hover ul.column { 
      display: block;
    }
    

    Its untested, but I’ve done more of these than I’d care to remember 😛

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

Sidebar

Related Questions

I could have sworn i have done this somewhere - im using 2.0 right
I could have sworn that I saw a quick demo of new features in
I have a Double which could have a value from around 0.000001 to 1,000,000,000.000
I know I could have an attribute but that's more work than I want
I just wanted to see if I could have your thoughts on the design
There are many skills a programmer could have (understanding the problem, asking good questions,
In prior versions of Windows before Vista you could have a Windows Service interact
I'm writing a Java Tree in which tree nodes could have children that take
Below is my table, a User could have multiple profiles in certain languages, non-English
Why isn't Collection.remove(Object o) generic? Seems like Collection<E> could have boolean remove(E o); Then,

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.