• Snowcovered.com

    Custom DNN Modules

Subject: IE not showing subnav

You are not authorized to post a reply.   
Prev Next
Author Messages
KenUser is Offline

Posts:8

01/21/2007 12:53 PM Alert 
I'm using "CSS only fly-out menus, example 2" from CSSPlay for my navigation. Works great in all browsers I've tested except IE. Even when I put in the exact code they use on their example page without modifying it, my subnav doesn't work. I realize the CSSPlay site is not DNN though. Any suggestions? I've tried adjusting the xml too, but that doesn't help. CSSPlay code is pasted below. (Alternatively, I don't have to use this code if anyone is aware of another set of CSS that I could use for my vertical, fly-out nav) Thanks.

/* common styling */
.menu2{
font-family: arial, sans-serif; width:100px; height:180px; position:relative; font-size:11px; margin:30px 0; z-index:100;
}
.menu2 ul {
padding:0; margin:0; list-style-type: none; background:#eee; width:100px; height:180px; border:1px solid #606;
}
.menu2 ul li ul {
visibility:hidden; position:absolute; height:0; overflow:hidden; top:0; left:85px;
}
.menu2 ul li {
float:left;
}
.menu2 ul li a, .menu2 ul li a:visited {
display:block; float:left; text-decoration:none; color:#000; width:90px; height:30px; line-height:29px; font-size:11px; background:transparent; padding-left:10px;
}
* html .menu2 ul li a, * html .menu2 ul li a:visited {width:100px; w\idth:90px;}

.menu2 table {
border-collapse:collapse; border:0; margin:0; padding:0; font-size:1em; position:absolute; left:0; top:0;
}

/* first line for IE7 and non-IE browsers - second line for IE5.5 and IE6 */
.menu2 ul li:hover a,
.menu2 ul li a:hover{
background:#606; color:#fff;
}

.menu2 ul li:hover {position:relative; z-index:90;}
* html .menu2 ul li a:hover {position:relative; z-index:100;}

.menu2 ul li:hover ul,
.menu2 ul li a:hover ul {
visibility:visible; position:absolute; height:auto; border:1px solid #606; background:#606; overflow:visible;
}
.menu2 ul li:hover ul li a,
.menu2 ul li a:hover ul li a{
display:block; background:transparent; color:#fff; line-height:15px; padding:5px 0 5px 10px; height:auto; text-decoration:none;
}

.menu2 ul li:hover ul li:hover a,
.menu2 ul li a:hover ul li a:hover {
background:#069; color:#ff0;
}
.menu2 ul li:hover ul li ul,
.menu2 ul li a:hover ul li a ul {
visibility:hidden; position:absolute; height:0; overflow:hidden; top:0; left:85px;
}
.menu2 ul li:hover ul li:hover ul,
.menu2 ul li a:hover ul li a:hover ul {
visibility:visible; position:absolute; height:auto; color:#000; padding:0; border:1px solid #069; list-style-type:none; background:#069;
}
.menu2 ul li:hover ul li:hover ul li a,
.menu2 ul li a:hover ul li a:hover ul li a {
display:block; background:transparent; color:#ff0;
}

.menu2 ul li:hover ul li:hover ul li:hover a,
.menu2 ul li a:hover ul li a:hover ul li a:hover {
background:#eee; color:#000;
}

DNN SEOUser is Offline

Posts:153

01/22/2007 8:16 AM Alert 
Have done this is this thread:

http://www.dnnseo.net/Forums/tabid/54/forumid/1/postid/1/view/topic/Default.aspx

Owner/Developer
DNN SEO
www.dnnseo.net
You are not authorized to post a reply.
Forums > SEOMenu > CSS Tweaking > IE not showing subnav



ActiveForums 3.6
Login  |  Privacy Statement  |  Terms Of Use  |  Copyright 2006 by DNN SEO