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

  • Home
  • SEARCH
  • 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 7411791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:26:31+00:00 2026-05-29T06:26:31+00:00

I have for like 2 hours tried to find out the problem with the

  • 0

I have for like 2 hours tried to find out the problem with the fly-out menu on the home page of this link

When you hover over our capabilities link on the page it it fly’s out properly but the main background won’t stretch to accommodate the width I gave it while the hover does. The code are as shown below

HTML

<ul id="menu">
         <li><a href="index.php" class="current">Home </a></li>
         <li><a href="#">Capabilities </a>
           <ul class="innerul">
             <li><a href="quilt.html">Wire Harness & Cable Assemblies</a></li>
             <li><a href="quilting-services.html">Electro Mechanical Assemblies</a></li>
             <li><a  href="bags-&amp;-totes.html">On-Site Machine Shop</a></li>
             <li><a href="zombie-felties.html">FAcilities & Equipment listing</a></li>
             <li><a href="coming-soon.html"> Quality Assurance</a></li>
             <li><a href="coming-soon.html"> Computer Control System</a></li>
           </ul>
         </li>
         <li><a href="process-control.php">Process Control</a></li>
         <li><a href="about-us.php">About Us</a></li>
         <li><a href="contact-us.php">Contact Us</a></li>
       </ul>

CSS

#menu
{
        width: 100%;
        margin: 0;
        padding: 0px 0 0 0;
        list-style: none;

}

#menu li
{
    float: left;
    position: relative;
    width: 192px;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 10px;
    padding-left: 0;
    margin: 0px;
    text-align: center;
}



#menu a
{
        float: left;
        height: 25px;
        text-align: center;
        width: 192px;
        color: #999;
        text-transform: uppercase;
        font: bold 12px/25px Arial, Helvetica;
        text-decoration: none;

}

#menu .innerul li li:hover > a
{
    color: #fafafa;
    width: 250px;
}

*html #menu li a:hover /* IE6 */
{
        color: #fafafa;
}

#menu li:hover > ul
{
    width: 250px;
        display: block;


}

/* Sub-menu */

#menu li .innerul
{
    list-style: none;
    width: 250px;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 99999;
    background: #192833;
    background: -moz-linear-gradient(#1f323f, #192833);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #192833));
    background: -webkit-linear-gradient(#1f323f, #192833);
    background: -o-linear-gradient(#1f323f, #192833);
    background: -ms-linear-gradient(#1f323f, #192833);
    background: linear-gradient(#1f323f, #192833);
    -moz-border-radius: 5px;
    border-radius: 5px;
}



#menu li .innerul li
{
    float: none;
    width: 250px;
    margin: 0;
    padding: 0;
    display: block;
    -moz-box-shadow: 0 1px 0 #010101, 0 2px 0 #2b4253;
    -webkit-box-shadow: 0 1px 0 #010101, 0 2px 0 #2b4253;
    box-shadow: 0 1px 0 #010101, 0 2px 0 #2b4253;
}

#menu li .innerul li:last-child
{
    width: 250px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#menu li .innerul li a
{
    width: 250px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
        height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
        text-transform: none;
}

*html #menu ul a /* IE6 */
{
        height: 10px;
        width: 192px;
}

*:first-child+html #menu ul a /* IE7 */
{
        height: 10px;
        width: 192px;
}

#menu li .innerul li a:hover
{
    background: #0186ba;
     width: 250px;
        background: -moz-linear-gradient(#04acec,  #0186ba);
        background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
        background: -webkit-linear-gradient(#04acec,  #0186ba);
        background: -o-linear-gradient(#04acec,  #0186ba);
        background: -ms-linear-gradient(#04acec,  #0186ba);
        background: linear-gradient(#04acec,  #0186ba);
}

#menu li .innerul li:first-child a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    width: 250px;
}

#menu li .innerul li:first-child a:after
{
    content: '';
    position: absolute;
     width: 250px;
    left: 30px;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #1f323f;
}

#menu ul li:first-child a:hover:after
{
    border-bottom-color: #04acec;

}

#menu ul li:last-child a
{
     width: 192px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after
{
     width: 192px;
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */
 #left {
    float: left;
    width: 700px;
    margin-right: 20px;
    height: auto;
    margin-bottom: 25px;
    margin-top: 0px;
}
#rack #header #navbar #menu li .innerul {
    margin: 0px;
    padding: 0px;
}
  • 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-29T06:26:32+00:00Added an answer on May 29, 2026 at 6:26 am

    Your top menu CSS rule is more specific than the inner one. Change #rack #header #navbar ul to #rack #header #navbar > ul to make sure this rule gets only applied to the top menu.

    Also increase your 250px width to 350px to make sure you have enough room for the text.

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

Sidebar

Related Questions

i have spend like 2 hours on this, but i still can not find
I been sitting over this problem quiet a few hours now and can not
Imagine I have a document like this: post = {title: a, comments: [{hour: 08:00,
I have like 400 records on my database, suppose this is the first version
I have like 12,000 rows in a DataTable and it is timing out when
Hello I have like this 2 tables class User public int UserId{get;set;} { ....
I have function like this: function ypg_delete_img($id, $img) { $q = $this->ypg_get_one($id); $imgs =
I have tried to ask a variant of this question before. I got some
I've tried this for a couple of hours and wasn't able to do this
This seems like it should be an easy fix, but after searching for hours

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.