我的菜单有点奇怪
1 屏幕截图 1 显示它工作正常 2. 屏幕截图 2 显示它有问题
这是代码请帮我我卡住了
#navigation { margin-top: -17px; }
.region-nav-main .content {background:#6f0d1c; height:28px; color:#fff; width:auto; float:right; font:11px 'Trebuchet MS', Arial, Helvetica, sans-serif;}
.region-nav-main .content ul li {float:left; list-style:none; display:inline; position:relative; z-index:997; padding:0; margin:0;}
.region-nav-main .content ul li a {color:#fff; text-decoration:none; padding:0 10px; display:block; line-height:28px;}
.region-nav-main .content ul li a:hover {background:#242121;}
.region-nav-main .content ul li.expanded a {background:url(../images/parent-dd.gif) right 12px no-repeat; padding:0 22px 0 10px;}
.region-nav-main .content ul li a.parent:hover, .region-nav-main .content ul li.hover a, .region-nav-main .content ul li.hover a:hover, .region-nav-main .content ul li.expanded a.active {background:#242121 url(../images/parent-dd.gif) right -82px no-repeat;}
.region-nav-main .content ul li a.active {background:#242121}
.region-nav-main .content ul li.expanded a.active-trail {background: #242121 url(../images/parent-dd.gif) right -82px no-repeat;}
.region-nav-main .content ul li.expanded li a {background:none;}
.region-nav-main .content ul li.hover li a:hover {background:#3a3a3a none;}
.region-nav-main .content ul li ul {display:none; position:absolute; top:28px; left:0; z-index:998;}
.region-nav-main .content ul li ul li {background:#242121; border-bottom:1px solid #383535; display:block; float:none; color:#868686; float:left; clear:both;z-index:998;}
.region-nav-main .content ul li ul li.last {border:0 none;z-index:991;}
.region-nav-main .content ul li ul li:hover ul{ display:block;}
.region-nav-main .content ul li ul li a {color:#868686; background:none; width:135px;}
.region-nav-main .content ul li ul li a:hover {background:#3a3a3a; color:#fff;}
.region-nav-main .content ul li ul li ul{left:144px; top:-2px; display:none;}
我试过以下没有运气
.region-nav-main .content ul li{z-index:990 !important;}
.region-nav-main .content ul li ul {z-index:995 !important;}
.region-nav-main .content ul li ul li {z-index:995 !important;}
.region-nav-main .content ul li ul li ul {z-index:999 !important;}
.region-nav-main .content ul li ul li ul li {z-index:999 !important;}