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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:13:44+00:00 2026-06-11T06:13:44+00:00

I have spent the last 3 days creating a menu structure which is generated

  • 0

I have spent the last 3 days creating a menu structure which is generated from a database. It works perfectly with the exception of my styling of my List-items. I have coloured the background of the problem area in Red, and these areas show when you hover over the words

Bus Stops
Employees
Fences
Vehicles

The list-items within these red boxes are displaying alongside each other rather than vertically below each other. I cannot for the life of me work out why?

I have created a fiddle to illustrate my problem: http://jsfiddle.net/devin85/tMYxT/4/

I have also set the background color to Red in the Javascript section to help show where the hover event is occurring, and save any good Samaritan the time of searching the code.

Please someone help! 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-06-11T06:13:46+00:00Added an answer on June 11, 2026 at 6:13 am

    Its because of your CSS.

    When you declare

    #navigation li, .headerRight li { margin: 4px 7px 4px 2px; padding: 0px; float: left; background-color: Transparent; }
    

    you’re telling the browser to float left all of the li’s under navigation until you tell it otherwise.

    #navigation .submenu .submenu li {
       float:none;
    }
    

    will tell it not to float on all the list items when their in a second level submenu.

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

Sidebar

Related Questions

I have spent last 3 days until I got gps working on android using
I have spent the last couple of days to use Core Plot for the
I've spent the last few days banging my head and searching Google and have
I have spent the last few days attempting to integrate a Grails (version 1.3.2)
I've spent the last 2 days trying to figure this out, basically I have
I have spent the last 2 days trying to find out how to do
I have spent the last two days looking for a simple javascript or jquery
I have spent the last couple of days having this issue. I have read
I have spent the last few days playing around with Drupal for the first
I have spent the last few days trying to parse a SOAP response but

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.