开发者

CSS hover menu positioning troubles

开发者 https://www.devze.com 2023-04-10 03:08 出处:网络
I\'m building a CSS hover menu for my site: http://test.fairfood.org. I can\'t seem to figure out how to position each nested ul to display underneath it\'s parent li. They all show up at the same pl

I'm building a CSS hover menu for my site: http://test.fairfood.org.

I can't seem to figure out how to position each nested ul to display underneath it's parent li. They all show up at the same place. The submenus also d开发者_开发百科isappear behind the carrousel even though the nested ul's have position absolute and a high z-index.

What am I overlooking here?


I suggest stripping all your style from the ul li elements and just call them like this:

http://jsfiddle.net/MmsVS/

This is the style I use for my own menus.

0

精彩评论

暂无评论...
验证码 换一张
取 消