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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:57:32+00:00 2026-06-16T05:57:32+00:00

See http://jsfiddle.net/PdZrt/ Basically I have applied the yui reset and base and am the

  • 0

See http://jsfiddle.net/PdZrt/

Basically I have applied the yui reset and base and am the trying to seperately style a ul for a menu. The li’s pick up the style but the ul doesn’t appear too.

Any ideas?

In the fiddle there should:

list-style: none;
padding: 0;
margin: 0;
background-color:Red
  • 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-16T05:57:34+00:00Added an answer on June 16, 2026 at 5:57 am

    There are a couple issues here.

    One, that jsfiddle is all on one line and wrapping.

    Two, your CSS for the ul reads: .nav-menu ul — nav-menu IS the ul, thus it should read:

    .nav_menu { list-style: none; ... }
    

    The reason the background: red isn’t showing up is because the elements inside of the <ul>, the <li>s have float: left set. This removes from from the flow of the <ul> and effectively makes your <ul> have a height of 0. While there is more than one way to solve this problem, the quickest would be to add a overflow: hidden to the <ul>.

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

Sidebar

Related Questions

I have a menu with tiled images w/text under them. See Fiddle: http://jsfiddle.net/techydude/GF8tS/ Is
I have the following fiddle for people to see http://jsfiddle.net/defaye/DhaHP/4/ The result on full
I've got a toggle menu, please see http://jsfiddle.net/Wp2em/41/ for code and functions. On the
Please see: http://jsfiddle.net/XEbKy/3/ I have two layers of tabs. On the top layer I
As you can see http://jsfiddle.net/eZt4J/ I have a 6 boxes and I was wanting
I'm having an issue with angularjs validation, see http://jsfiddle.net/NR55T/1/ . Basically there is a
I am trying to render some items in a list using JsRender. See http://jsfiddle.net/arame3333/PTWnq/1/
Please see http://jsfiddle.net/jGCx9/ I have right: 28px which causes the span element to shift
I have a list of lists. Sublists are floated left. See http://jsfiddle.net/P4Psf/ Is there
Please see the jsFiddle http://jsfiddle.net/Lijo/ryDnn/1/ . I have two columns layout. It is %

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.