Advertisement

06.06.2008 at 04:00PM PDT, ID: 23465316
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

I.E problem with drop down menu dissapearing

Asked by djmichaelray in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Extensible HTML (XHTML)

Tags: ,

So i have this script that works really well for a drop down menu in everything except I.E.  It shows up in I.E but when you try to bring the mouse over one of the drop down menu items, the menu disapears and you can't click anything.

All my css and html is attached
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
############### CSS style.css #######################
 
/* common styling */
.menu {
/*      font-family: arial, sans-serif; 
        width:750px; 
        height:100px; 
        position:relative;
        font-size:11px; 
        z-index:100;*/
        left:70px;
        top:5px;
        
        font-family:Arial, Helvetica, sans-serif;
        width:70px; 
        height:20px; 
        position:absolute;
        font-size:10px;
        z-index:6;
}
.menu ul li a, .menu ul li a:visited {
        display:block; 
        text-decoration:none; 
        width:90px; 
        height:28px; 
        text-align:left; 
        border:none;
        color:#BE7740; 
        background:none; 
        line-height:20px; 
        font-size:10px; 
        overflow:hidden;
        text-indent:4px;
}
 
.menu ul {
        padding:0; 
        margin:0; 
        list-style: none;
}
.menu ul li {
        float:left; 
        position:relative;
}
.menu ul li ul {
        display: none;
}
 
 
/* specific to non IE browsers */
.menu ul li:hover a {color:#BE7740;  text-indent:4px;} /* MAIN HEADER */
.menu ul li:hover ul {display:block; position:absolute; top:25px; left:0; width:90px;}
.menu ul li:hover ul li a.hide {background:#EEEEEE; color:#666666; height:20px; text-indent:4px;} /* 1st layer un-hovered */
.menu ul li:hover ul li:hover a.hide {background:#DDDDDD; color:#133D18; height:20px; text-indent:4px;} /* 1st layer hovered */
.menu ul li:hover ul li ul {display: none;}
.menu ul li:hover ul li a {display:block; background:#EEEEEE; color:#666666; height:20px; text-indent:4px;} /* 2nd layer un-hovered */
.menu ul li:hover ul li a:hover {background:#DDDDDD; color:#133D18; height:20px; text-indent:4px;} /* 2nd layer hovered */
.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:90px; top:0;}
.menu ul li:hover ul li:hover ul.left {left:-90px;}
 
###########  Index.html   #############################################
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--[if lte IE 6]><link rel="stylesheet" media="all" type="text/css" href="content/stylesheets/menu_ie.css" /><![endif]-->
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<title>Untitled Document</title>
</head>
 
<body>
<div class="menu">
<ul>
<li><a class="hide" href="#">PRODUCTS</a>
<!--[if lte IE 6]><a class="menumain" href="#">PRODUCTS<table><tr><td><![endif]-->
        <ul>
        <li><a class="hide" href="#">CLOTHING</a>
    <!--[if lte IE 6]><a class="sub" href="#" title="Hover/click with no active/focus borders">CLOTHING<table><tr><td><![endif]-->      
                <ul>
                        <li><a href="product.php">MENS</a></li>
                        <li><a href="product.php">WOMENS</a></li>
                </ul>           
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
        <li><a class="hide" href="#">FOOTWEAR</a>
    <!--[if lte IE 6]><a class="sub" href="#" title="Hover/click with no active/focus borders">FOOTWEAR<table><tr><td><![endif]-->
                <ul>
                        <li><a href="product.php">BOOTS</a></li>
                        <li><a href="product.php">WALKING</a></li>
                        <li><a href="product.php">SHOES</a></li>
                </ul>   
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->    
        </li>
        <li><a class="hide" href="product.php">ACCESSORIES</a>
        <!--[if lte IE 6]><a class="sub" href="product.php">ACCESSORIES<table><tr><td><![endif]-->
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
</div>
 
</body>
</html>
 
########## I.E CSS   menu_ie.css   ###############################
 
.menu ul li a.hide, .menu ul li a:visited.hide {display:none;}
.menu ul li a:hover ul li a.hide {display:none;}
/*---------------------------*/
.menu ul li a:hover {color:#BE7740;  text-indent:4px; background:#CCCCCC;}
.menu ul li a:hover.menumain {width:70px;}
.menu ul li a:hover ul {display:block; position:absolute; top:25px; left:0; width:90px;}
.menu ul li a:hover ul li a.sub {background:#EEEEEE; color:#666666; height:20px; text-indent:4px;} /* First layer un-hovered */
.menu ul li a:hover ul li a {display:block; background:#EEEEEE; color:#666666; height:20px; text-indent:4px;} /* 2nd layer un-hovered */
.menu ul li a:hover ul li a ul {visibility:hidden;}
.menu ul li a:hover ul li a:hover {background:#DDDDDD; color:#133D18; height:20px; text-indent:4px;} /* 2nd layer hovered */
.menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:90px; top:0; color:#000;}
.menu ul li a:hover ul li a:hover ul.left {left:-90px;}
 
.logo {top:21px; left:12px;
[+][-]06.06.2008 at 04:41PM PDT, ID: 21733477

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Extensible HTML (XHTML)
Sign Up Now!
Solution Provided By: scrathcyboy
Participating Experts: 1
Solution Grade: B
 
 
[+][-]06.06.2008 at 10:03PM PDT, ID: 21734293

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628