Solved

CSS Multi-level menu problem

Posted on 2011-03-07
4
387 Views
Last Modified: 2012-05-11
Is There any way with CSS I can get a multi-level menu to expand straight across instead of across and down one.  In other words. Can I do this

Menu
Item 1 -> subitem 1
               subitem 2

Instead of this:

Menu
Item 1  ->
                  subitem 1
                  subitem 2

See the difference.  Because it's an unordered list I can't get the subitem to be straight across from the item when it expands.
0
Comment
Question by:smitty62
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Chad Haney earned 500 total points
ID: 35060968
Yeah there are multiple ways.  If you have the latter of your example just use position:relative; with a negative  top positioning to align the items.
0
 
LVL 12

Expert Comment

by:Chad Haney
ID: 35061062
Do you have an example of the code you are working with? Or are you starting from scratch right now and just planning?
0
 

Author Closing Comment

by:smitty62
ID: 35061066
I didn't think about using a negitive top.  That worked.  Thank you.
0
 

Author Comment

by:smitty62
ID: 35061077
asdf
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

728 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