swiesman
03-09-2009, 07:33 PM
I'm having a few problems with IE displaying the menu tree properly and was hoping for some help. The website is www.wiesman.org/LBA. The main problem is that the menu's are too sensitive and disappear to quickly (in IE 7). In particular the "Membership" submenu "join" is difficult to get to in IE. There don't seem to be any problems with other browsers I've tested. There are also some slight display issues with the submenus in IE 5 & 6....the submenus don't fully display. If anyone can help it would be much appreciated. I'm totally new to webdesign.
Thanks
Scott
CSS Code
.menudiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 200px; /*Width of Menu Items */
border-bottom: 0px solid #ccc;
}
.menudiv ul li{
position: relative;
padding:0px 0 2px 0px; background: none;
}
/*Sub level menu items */
.menudiv ul li ul{
position: absolute;
width: 125px; /*sub menu width*/
top: 0;
visibility: hidden;
}
/* Sub level menu links style */
.menudiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
color: black;
text-decoration: none;
background: #fff;
padding: 0px 0px;
border: 0px solid #ccc;
border-bottom: 0;
}
.menudiv ul li a:visited{
color: black;
}
.menudiv ul li a:hover{
background-color: white;
}
* html .menudiv ul li { float: left; height: 1%; }
* html .menudiv ul li a { height: 1%; }
Header Code
<div class="menudiv">
<ul id="menu">
<li><a href="index.html"><img src="images/menu_button_1.jpg" alt="About Us" border="0"></a></li>
<li><a href="news.html"><img src="images/menu_button_2.jpg" alt="News" border="0"></a></li>
<li><img src="images/menu_button_3.jpg" alt="Events" border="0"></a>
<ul>
<li><a href="events-1.html"><img src="images/events-1.jpg" alt="CLE" border="0"></a></li>
<li><a href="events-2.html"><img src="images/events-2.jpg" alt="Calendar Of Events" border="0"></a></li>
</ul>
</li>
<li><img src="images/menu_button_4.jpg" alt="Resources" border="0"></a>
<ul>
<li><a href="resource-1.html"><img src="images/resource-1.jpg" alt="Bulletin Board" border="0"></a></li>
<li><a href="resource-2.html"><img src="images/resource-2.jpg" alt="External Links" border="0"></a></li>
</ul>
</li>
<li><img src="images/menu_button_5.jpg" alt="Membership" border="0"></a>
<ul>
<li><a href="member-1.html"><img src="images/member-1.jpg" alt="Board" border="0"></a></li>
<li><a href="member-2.html"><img src="images/member-2.jpg" alt="Members" border="0"></a></li>
<li><a href="member-3.html"><img src="images/member-3.jpg" alt="Join" border="0"></a></li>
</ul>
</li>
<li><a href="contact.html"><img src="images/menu_button_6.jpg" alt="Contact Us" border="0"></a></li>
</ul>
</div>
Thanks
Scott
CSS Code
.menudiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 200px; /*Width of Menu Items */
border-bottom: 0px solid #ccc;
}
.menudiv ul li{
position: relative;
padding:0px 0 2px 0px; background: none;
}
/*Sub level menu items */
.menudiv ul li ul{
position: absolute;
width: 125px; /*sub menu width*/
top: 0;
visibility: hidden;
}
/* Sub level menu links style */
.menudiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
color: black;
text-decoration: none;
background: #fff;
padding: 0px 0px;
border: 0px solid #ccc;
border-bottom: 0;
}
.menudiv ul li a:visited{
color: black;
}
.menudiv ul li a:hover{
background-color: white;
}
* html .menudiv ul li { float: left; height: 1%; }
* html .menudiv ul li a { height: 1%; }
Header Code
<div class="menudiv">
<ul id="menu">
<li><a href="index.html"><img src="images/menu_button_1.jpg" alt="About Us" border="0"></a></li>
<li><a href="news.html"><img src="images/menu_button_2.jpg" alt="News" border="0"></a></li>
<li><img src="images/menu_button_3.jpg" alt="Events" border="0"></a>
<ul>
<li><a href="events-1.html"><img src="images/events-1.jpg" alt="CLE" border="0"></a></li>
<li><a href="events-2.html"><img src="images/events-2.jpg" alt="Calendar Of Events" border="0"></a></li>
</ul>
</li>
<li><img src="images/menu_button_4.jpg" alt="Resources" border="0"></a>
<ul>
<li><a href="resource-1.html"><img src="images/resource-1.jpg" alt="Bulletin Board" border="0"></a></li>
<li><a href="resource-2.html"><img src="images/resource-2.jpg" alt="External Links" border="0"></a></li>
</ul>
</li>
<li><img src="images/menu_button_5.jpg" alt="Membership" border="0"></a>
<ul>
<li><a href="member-1.html"><img src="images/member-1.jpg" alt="Board" border="0"></a></li>
<li><a href="member-2.html"><img src="images/member-2.jpg" alt="Members" border="0"></a></li>
<li><a href="member-3.html"><img src="images/member-3.jpg" alt="Join" border="0"></a></li>
</ul>
</li>
<li><a href="contact.html"><img src="images/menu_button_6.jpg" alt="Contact Us" border="0"></a></li>
</ul>
</div>