?
Solved

CSS Multi-level menu problem

Posted on 2011-03-07
4
Medium Priority
?
392 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Six Sigma Control Plans

800 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