Solved

CSS Dropdown menu

Posted on 2011-09-08
6
231 Views
Last Modified: 2012-05-12
I have created a horizontal dropdown menu with css.  However, I'm not sure how to write the second part of the dropdown.  Instead of the second level dropingdown vertically, I want it to drop down a spread out, inline horizontally under the main menu choices.

<ul>
<li>HOME</li>
</i>About
<ul>
<li>Me</li>
<li>partners</li>
<li>Friends</>
</ul>
</li>
</ul>

Open in new window


Does that make sense?
0
Comment
Question by:rgranlund
6 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
Comment Utility
give
ul li ul li
{
   list-style-type:none;
   float:left;
   width:60px;
}
0
 
LVL 30

Expert Comment

by:LZ1
Comment Utility
I try not to reinvent the wheel when I don't have to.  Have you seen Suckerfish menus? The examples are at the very bottom of the page. Fully tested, compliant and very easy to implement.
0
 
LVL 7

Author Comment

by:rgranlund
Comment Utility
@LZ1 There was not 1 example on that page that refers to the type of menu style I am trying to create.  Did I miss something?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 40

Expert Comment

by:gurvinder372
Comment Utility
did you tried my suggestion?
0
 
LVL 29

Expert Comment

by:Badotz
Comment Utility
A quick Google search will turn up hundreds (thousands? millions?) of cross-browser, debugged menus.

If you're a jQuery fan, you have perhaps hundreds more from which to choose.
0
 
LVL 30

Expert Comment

by:LZ1
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now