Hi Every one :)
My Issue is the sub menu level 2 Not working in Internet Explore but it's working perfect in all other browsers.
I Spend more than 6 hours and could not find the solution guys if could help that would be grate :)
You can View the menu in this URL:http://www.1.ashraf.ly
If you test this in IE The digital sub menu will not open my level 2 sub "Laptop"
You can Download the files from the attached file.
You can View my Html Code here:
You can View my CSS Code here
Thank you,
ASH
My Issue is the sub menu level 2 Not working in Internet Explore but it's working perfect in all other browsers.
I Spend more than 6 hours and could not find the solution guys if could help that would be grate :)
You can View the menu in this URL:http://www.1.ashraf.ly
If you test this in IE The digital sub menu will not open my level 2 sub "Laptop"
You can Download the files from the attached file.
You can View my Html Code here:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="menu_style.css" type="text/css" />
</head>
<body>
<div class="menu">
<ul>
<li><a href="#" >Home</a></li>
<li><a href="#" id="current">Products</a>
<ul>
<li class="sub"><a href="#">Digital <img border="0" align="absmiddle" style="float:right; margin-top:11px;"src="images/comnav-arrowover.png"></a>
<ul class="sub">
<li><a href="#">Laptop</a></li>
</ul>
</li>
</ul>
</div>
</body>
</html>
Code:
.menu{
border:none;
border:0px;
margin:0px;
padding:0px;
font-family:verdana,geneva,arial,helvetica,sans-serif;
font-size:14px;
font-weight:bold;
color:8e8e8e;
}
.menu ul{
background:url(images/menu-bg.gif) top left repeat-x;
height:43px;
list-style:none;
margin:0;
padding:0;
}
.menu li{
float:left;
}
.menu li a{
color:#666666;
display:block;
font-weight:bold;
line-height:43px;
padding:0px 25px;
text-align:center;
text-decoration:none;
}
.menu li a:hover{
color:#000000;
text-decoration:none;
}
.menu li ul{
background:#e0e0e0;
border-left:2px solid #0079b2;
border-right:2px solid #0079b2;
border-bottom:2px solid #0079b2;
display:none;
height:auto;
filter:alpha(opacity=95);
opacity:0.95;
position:absolute;
width:225px;
z-index:200;
/*top:1em;
/*left:0;*/
}
.menu li:hover ul{
display:block;
}
.menu li li {
display:block;
float:none;
width:225px;
}
.menu li ul a{
display:block;
font-size:12px;
font-style:normal;
padding:0px 10px 0px 15px;
text-align:left;
}
.menu li ul a:hover{
background:#949494;
color:#000000;
opacity:1.0;
filter:alpha(opacity=100);
}
.menu p{
clear:left;
}
.menu #current{
background:url(images/current-bg.gif) top left repeat-x;
color:#ffffff;
}
<!------SUB----------!>
li a:hover{
color:#0F0;
text-decoration:none;
}
li.sub ul.sub{
background:#e0e0e0;
border-left:2px solid #0079b2;
border-right:2px solid #0079b2;
border-bottom:2px solid #0079b2;
display:none;
top:0px;
left:100%;
height:auto;
filter:alpha(opacity=95);
opacity:0.95;
position:absolute;
width:225px;
}
li.sub:hover ul.sub{
display:block;
left: 100%;
top: 0;
}
ASH