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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:30:59+00:00 2026-05-25T22:30:59+00:00

I am trying to create a homepage with a ‘toolbar’ look like the one

  • 0

I am trying to create a homepage with a ‘toolbar’ look like the one that is used in the default google homepage.

I have managed to put some HTML and CSS together, but I still have not been able to work out how to do the following two things:

  1. How to “gray out” the background of the menu item as the mouse hovers over it (like in the Google page)

  2. How to implement a nested menu. With this, I suspect that this may not be possible with CSS alone and so I may need to use javascript (in which case, I’ll use jQuery)

The menu structure is like this:

Menu 1                    Menu 2
   Menu 1 Sub Item 1          Menu 2 Sub item 1
   Menu 1 Sub Item 2          Menu 2 Sub item 2 
                                   Menu 2 Sub Item 2 Sub Item 1
                                   Menu 2 Sub Item 2 Sub Item 2
                              Menu 2 Sub Item 3

Here is the (HTML and CSS) I have come up with so far:

<html><head>
<style type="text/css">
*{

padding:0px;

margin:0px;}

h2, h3{

    color: #1f497d;

    padding: 10px 0px 10px 0px;

}



body{

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    color: #52525c;

    line-height: 18px;

}


#navigation{

    background-color: #2d2d2d;

    color: #FFFFFF;

    height: 25px;

    list-style-type: none;

    font-size: 13px;

}



#navigation ul li {

    list-style-type: none;

    padding: 5px 20px 3px 5px;

    float: left;

    }



#navigation a{

    color: #CCCCCC;

    text-decoration: none;

}



#navigation a:hover, a:visited, a:active{

    color: #FFFFFF;

    border-bottom-color: #c00000;

    border-bottom-width: 2px;

    border-bottom-style: solid;

}



#navigation a.current{

color:#FF0000;}    

.tab{

    width: 10%;

    float: left;

    text-align: center;

    font-size: 16px;

    border-bottom-width: 1px;

    border-bottom-style: solid;

    border-bottom-color: #CCCCCC;

    border-right-width: 1px;

    border-right-style: solid;

    border-right-color: #CCCCCC;

    border-left-width: 1px;

    border-left-style: solid;

    border-left-color: #CCCCCC;

}

.tab2{

    float: right;

    width: 8%;

    text-align: center;

    margin: 2px;

    background-color: #EFEFEF;

    color: #336699;

}



</style>
</head>
<body>
<div>
<div id="navigation">
  <ul>
    <li class="current"><a href="#">Menu Item 1</a></li>
    <li> <a href="#">Menu Item 2</a></li>
    <li><a href="#">Menu Item 3</a></li>
    <li><a href="#">Menu Item 4</a></li>
    <li><a href="#">Menu Item 5</a></li>
    <li><a href="#">Menu Item 6</a></li>
    <li><a href="#">Sign in</a></li>
  </ul>

  </div>
</div>


</div>

</body></html>

Can someone help me with how to implement 1 and 2?

  • 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-25T22:31:00+00:00Added an answer on May 25, 2026 at 10:31 pm

    For number 2, you can make a pure CSS nested menu like this.

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

Sidebar

Related Questions

I'm currently trying to create a desktop like homepage where using can move around
I am trying to create a url router in PHP, that works like django's.
I am trying to create a page similar to Google's homepage. It is to
I have a project that uses the Google AdMob Ads SDK. I'm trying to
Trying to create a macro which can be used for print debug messages when
I am trying to create a list action in the admin generator. I have
Im trying to create a conditional statement that iterates through an array of nodes
What I'm trying to do: Create a home page on our company's intranet that
I'm trying to create a SharePoint web part that will display all the users
I'm trying to create an if statement in PHP that prevents a single post

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.