Re: [css-d] Submenus under container in horizontal dropdown--revisited

2006-04-02 Thread James Smith
>And I have a general question on z-indexing...I see alot of really high >numbers used for z-indexing and I'm curious as to why...I thought you only >needed to use as many numbers as there were of elements that you are stacking. >I used a z-index of 1 here and it worked just fine. If you

Re: [css-d] Submenus under container in horizontal dropdown--revisited

2006-04-01 Thread Gunlaug Sørtun
Iorhael wrote: > Okay, the position: relative and not the z-index is what did the > trick... Position relative (or absolute) starts stacking, and is needed for 'z-index' to have any effect. > And I have a general question on z-indexing...I see alot of really > high numbers used for z-indexing

Re: [css-d] Submenus under container in horizontal dropdown--revisited

2006-04-01 Thread Iorhael
>ah, ok, I downloaded your htc file to test it properly, and the following >works for me- adding the z-index and position:relative a step higher on your #menu ul: #menu ul { padding: 0; margin: 0 0 0 18px; /*sets left margin for menu*/ list-style: none; /*removes bullets*/ pos

Re: [css-d] Submenus under container in horizontal dropdown--revisited

2006-04-01 Thread James Smith
ah, ok, I downloaded your htc file to test it properly, and the following works for me- adding the z-index and position:relative a step higher on your #menu ul: #menu ul {padding: 0;margin: 0 0 0 18px; /*sets left margin for menu*/ list-style: none; /*removes bullets*/ position:r

Re: [css-d] Submenus under container in horizontal dropdown--revisited

2006-03-31 Thread Iorhael
>I also had this problem with my suckerfish menus... In theory z-index only >works with positioned elements - Try putting your z-index declaration on the #menu li ul rather than the #menu li:hover ul. James, I tried this putting the z-index here and several other places too but none worked.