valiant
01-23-2004, 01:58 PM
Hi
I'm creating a HTML/CSS menu based on several principles.
What I want:
- 2 Hierarchies, Menu & Submenu
- Menu & Submenu are <ul> lists, displayed inline, submenu is nested <ul>
- Menu is centered
- Active menu option is selected through the <body id="..:"> tag
- Can't use float: left, because my background images are overlapping (active background 131px wide, all other are 112px wide),
so I use absolute positioning of all <li> elements of the main menu
Problem:
I can't use the method described in the article http://css.maxdesign.com.au/listamatic2/horizontal02.htm to get the submenu also
"display: inline;" and exactly below the menu, all items of the submenu are on top of each other :(
see my menu in development:
http://www.nei.ch/test/cssmenu.submenu.html
a version without submenu, but working:
http://www.nei.ch/test/cssmenu.html
the submenu should be below the main menu as you can see on this page:
http://www.nei.ch/
(current version of the menu, all working but nexted <ul> )
Do you know how to get this to work?
Thanks in advance!
Andy Staudacher
I'm creating a HTML/CSS menu based on several principles.
What I want:
- 2 Hierarchies, Menu & Submenu
- Menu & Submenu are <ul> lists, displayed inline, submenu is nested <ul>
- Menu is centered
- Active menu option is selected through the <body id="..:"> tag
- Can't use float: left, because my background images are overlapping (active background 131px wide, all other are 112px wide),
so I use absolute positioning of all <li> elements of the main menu
Problem:
I can't use the method described in the article http://css.maxdesign.com.au/listamatic2/horizontal02.htm to get the submenu also
"display: inline;" and exactly below the menu, all items of the submenu are on top of each other :(
see my menu in development:
http://www.nei.ch/test/cssmenu.submenu.html
a version without submenu, but working:
http://www.nei.ch/test/cssmenu.html
the submenu should be below the main menu as you can see on this page:
http://www.nei.ch/
(current version of the menu, all working but nexted <ul> )
Do you know how to get this to work?
Thanks in advance!
Andy Staudacher