• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

CSS Multi-level menu problem

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
smitty62
Asked:
smitty62
  • 2
  • 2
1 Solution
 
Chad HaneyChief Technology OfficerCommented:
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
 
Chad HaneyChief Technology OfficerCommented:
Do you have an example of the code you are working with? Or are you starting from scratch right now and just planning?
0
 
smitty62Author Commented:
I didn't think about using a negitive top.  That worked.  Thank you.
0
 
smitty62Author Commented:
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.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now