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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:09:53+00:00 2026-05-17T15:09:53+00:00

This should be an easy one – I’m just missing something simple, I’m sure.

  • 0

This should be an easy one – I’m just missing something simple, I’m sure.

I have a header and want a nested, centered horizontal menu.

#header {
    background:url(images/headers/header.gif);
    margin: 0 auto;
    height: 207px;
    width: 100%;
}

/* =Menu
-------------------------------------------------------------- */

#access {
    background: transparent;
    display: block;
    text-align: center;
    float: left;
    margin: 150px auto 0;
    width: 940px;
}
#access .menu-header,
div.menu {
    font-size: 13px;
    margin-left: 120px;
    width: 766px;
}
#access .menu-header ul,
div.menu ul {
    list-style: none;
    margin: 0 auto;
}
#access .menu-header li,
div.menu li {
    background-color: #444;
    margin: 0 auto;
    float: left;
    text-align: center;
    width: 110px;
    position: relative;
}
#access a {
    color: #aaa;
    display: block;
    line-height: 38px;
    padding: 0 10px;
    text-decoration: none;
}
#access ul ul {
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    float: left;
    width: 180px;
    z-index: 99999;
}
#access ul ul li {
    min-width: 180px;
}
#access ul ul ul {
    left: 100%;
    top: 0;
}
#access ul ul a {
    background: #333;
    line-height: 1em;
    padding: 10px;
    width: 160px;
    height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
    background: #444;
    color: #fff;
}
#access ul li:hover > ul {
    display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
    color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
    color: #fff;
}

site: http://74.86.183.200/~riaharb/stage/

Thanks in advance!

  • 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-17T15:09:54+00:00Added an answer on May 17, 2026 at 3:09 pm

    That’s not hugely tricky, this should work:

    #parent_ul {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    }
    
    #parent_ul > li {
    display: inline; /* or inline-block */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This should be easy one, I just haven't found any reference to that.
This should be an easy one. I have a table like so: <table> <tr>
This should be an easy one, but I'm not finding much online: I have
This one should be easy. I have a Reviews table with records. The columns
This should be any easy one for you. I have an accordion that I'd
This should be an easy one. I have a variable that I've already declared
Good afternoon, This should be an easy one. I've done the cookie-cutter default ASP.NET
This should be easy for many of you, but for me it's just another
This should be easy, but I'm not sure how to best go about it.
This should hopefully be a simple one. I would like to add an extension

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.