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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:05:40+00:00 2026-06-05T07:05:40+00:00

I have a simple horizontal nav menu that uses highly-styled anchors for buttons. Now,

  • 0

I have a simple horizontal nav menu that uses highly-styled anchors for buttons. Now, the last button, called “store” has a list of content that becomes visible via this jquery hover effect.

I can’t get the “store” button to align with the rest of them. Two days now I’m trying float:left margin 50% whatever, position:incorrect, overflow:I-forget-what, clear:both, plus various cheesy hacks, and I’m at that point of CSS positioning where you start thinking seriously about re-constructing your layout using tables.

Instead of selling my soul to tables, I guess I better just ask someone who is more experienced to please take a look:

http://www.ideagasms.net/ideagasms-with-dropdown-menu.html

When viewing source, you’ll notice I added lots of comments next to the main elements so it should be easy to make sense of everything quickly. Thank you. 🙂

  • 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-06-05T07:05:41+00:00Added an answer on June 5, 2026 at 7:05 am

    This code should work:

    I’ve added a wrapping div to your menu with a fixed width and centred it on the page. Then added each a tag into an li.

    Your jQuery Menu is now broken but it should just be a case of finding the correct elements again now the orders have changed in the dom.

    You might also have to create some new styles and add them to the elements again. As I’ve probably messed a few bits up. I’d suggest adding proper classes and id’s so you don’t run into styling problems in the future.

    <div id="nav">
     <ul>
      <li>
          <a alt="STORE" class="navmenu faded" href="http://www.ideagasms.net/ideagasms-products/">STORE</a>
        <ul class="file_menu">
          <li><a href="#file">File</a></li>
          <li><a href="#edit">Edit</a></li>
          <li><a href="#view">View</a></li>
          <li><a href="#insert">Insert</a></li>
          <li><a href="#modify">Modify</a></li>
          <li><a href="#control">Control</a></li>
          <li><a href="#debug">Debug</a></li>
          <li><a href="#window">Window</a></li>
          <li><a href="#help">Help</a></li>
        </ul>
      </li>
      <li><a alt="HOME" class="navmenu faded" href="http://www.ideagasms.net/link">HOME</a>     </li>
      <li><a alt="VIDEO" class="navmenu faded" href="http://www.ideagasms.net/link">VIDEO</a> </li>
      <li><a alt="ABOUT" class="navmenu faded" href="http://www.ideagasms.net/link">ABOUT</a></li>
      <li><a alt="CONTACT" class="smcf-link navmenu faded">CONTACT</a></li>
      <li><a alt="DONATIONS" class="navmenu scroll faded" href="http://www.ideagasms.net/link">DONATIONS</a></li>
      <li><a alt="MENTORING" class="navmenu faded" href="http://www.ideagasms.net/link">MENTORING</a></li>
      <li><a alt="BEAUTY" class="navmenu faded" href="http://www.ideagasms.net/link">BEAUTY</a></li>
      <li><a alt="SNIPPETS" class="navmenu scroll faded" style="letter-spacing:1px" href="http://www.ideagasms.net/link">#iG</a></li>
    </ul>
    </div>
    
    
    <style type="text/css"> 
    
    
    #buttonnav {  
    float:left;
    height: 25px;
    width: 100px;
    margin-bottom:1cm;
    position:relative;
    z-index:9; 
    }
    #nav {
      margin: auto;
      width: 740px;
      background: orange;
    }
    ul {
      margin: auto;
    }
    ul li {     
        display: inline;
        float: left;
    
    }
    
    .menu_class {
        border:1px solid #1c1c1c;
    }
    
    ul.file_menu {
        cursor:pointer;
        display:none;
        width:260px;
        border: 1px solid #1c1c1c;
        margin:0; 
        padding:0; 
        list-style:none;
    }
    
    .file_menu li {
        background-color: #302f2f;
    }
    
    .file_menu li a {
        color:#FFFFFF; 
        text-decoration:none; 
        padding:10px; 
        display:block;
    }
    
    .file_menu li a:hover {
        padding:10px;
        font-weight:bold;
        color: #F00880;
    }
    
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple horizontal menu that uses JQuery to vertically slide down a
I have a horizontal nav menu that I am working on. I have one
I have a simple ul horizontal menu that exists within a div that is
I have a simple horizontal UL LI main nav which I am trying to
I have a simple usercontrol that uses a simple custom panel where I just
I have a simple horizontal menu and when I hover each one of the
I have a simple list I am using for a horizontal menu: <ul> <h1>Menu</h1>
I have a simple horizontal menu which has <li> elements of different widths, when
I have a simple jquery mobile site that includes a few buttons and a
I have simple html code that plays YouTube video after click on the image:

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.