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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:44:29+00:00 2026-05-28T01:44:29+00:00

I want to show a div below the items in the horizontal menu, when

  • 0

I want to show a div below the items in the horizontal menu, when I click on an item a div appears below the menu and starts where the item starts.
(I am not asking about how to show the DIV, only how to position it below the menu item)

<ul class="googleTab">
    <li class="active">item1</li>
    <li>item2</li>
    <li>item3</li>
        <li>item4</li>
        <li>item5</li>
</ul>

and the following css to make the style of horizontal menu

ul.googleTab                {
    direction: rtl;
    background: #848383;
    padding:0 5px;
    font-size:13px;
    color:#3366cc;
    overflow:hidden;
    background:-moz-linear-gradient(0% 100% 90deg,#f5f5f5, #ffffff);
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#f5f5f5));
}
ul.googleTab li {
    float:right;
    padding:7px 8px;
    border-top:solid 2px #bad3ea;   
         border-left-width:1px;
      border-left-color:#eee;
      border-left-style:solid;
}
ul.googleTab li.active{
    border-top: solid 3px #1a54e1;
    color:#363636;
    font-weight:bold;

}
ul.googleTab li:hover   {
    background:#e4ebf8;
    cursor:pointer;
}
  • 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-28T01:44:29+00:00Added an answer on May 28, 2026 at 1:44 am

    You could place the item inside a ul inside the li instead of using a div like

    <ul>
    <li>
    <ul><li></li></ul>
    </li>
    </ul>
    

    then position:absolute; the embedded <ul> and push it off the page to hide then bring back with js and position where you want it with top: and left:

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

Sidebar

Related Questions

I want to show a div with a loading animation over my page while
As I summarized at topic I want to show the DIV related with clicked
I want to get the id of the clicked element and then show div
I want to show some dialog (absolute positioned div), and I want to show
I need a jquery slideshow with div popup i want to show my image
I have a div to show a message, I want the message to appear
hii I want show a pop up Dialog box when i click on to
I want to show the publish date in the About dialog.
Please see my code below... I am puzzled and want to initially show 30px
I want to show some children of div#options based on multiple values of the

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.