Solved

CSS Multi-level menu problem

Posted on 2011-03-07
4
380 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
  • 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
This is an explanation of a simple data model to help parse a JSON feed
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 …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

803 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