left hand css navigation issues with IE7
I am having some issues with my left hand navigation on one of my clients' sites (focus28wellness(dot)com) when viewed in IE7. If you hover over the primary navigation items one at a time slowly, the secondaries pop out like they should, but if you roll over the primaries quickly, the secondaries all come out and stay that way even if you move off the navigation all together. The page works fine in IE6, Firefox, and Opera. Any suggestions of what could be happening? Any help would be greatly appreciated. The HTML and CSS for the menu are included below:
HTML
<ul id="nav">
<li><a href="what-is-focus28.asp" title="Learn more about Focus28">>> What is
Focus28?</a>
<ul>
<li><a href="message-from-founder.asp" title="A message from the founder of Focus28">>> Message from Founder</a></li>
<li><a href="history.asp" title="Learn about the history of Focus28">>> History</a></li>
<!--<li><a href="licensed.asp" title="Licensing of Focus28">>> Licensed</a></li>-->
</ul>
</li>
<li><a href="meet-our-life-coaches.asp" title="Meet Our Focus28 Life Coaches">>> Meet Our Life Coaches</a>
<ul>
<li><a href="life-coach-nancy-guberti.asp" title="Life coach, Nancy Guberti MS">>> Nancy Guberti MS, RD<br />
<span class="small">Director of Nutrition</span></a></li>
<li><a href="life-coach-lisa-avellino.asp" title="Life coach, Lisa Avellino">>> Lisa Avellino<br />
<span class="small">Director of Fitness</span></a></li>
<li><a href="life-coach-rosie-schulman.asp" title="Life coach, Rosie Schulman">>> Rosie Schulman <br>RN, BA, CH<br />
<span class="small">Director of</span><br />
<span class="small">Behavioral Management</span><br />
<span class="small">and Empowerment</span></a></li>
<li><a href="life-coach-suset-carpenito.asp" title="Life coach, Suset Carpenito">>> Suset Carpenito<br />
<span class="small">Image Consultant</span></a></li>
</ul>
</li>
<li><a href="ask-the-experts.asp" title="Have your questions answered by the experts">>>
Ask the Experts</a></li>
<li><a href="focus28-program.asp" title="Learn more about the Focus28 program">>> Focus28 Program</a>
<!--<ul>
<li><a href="philosophy.asp" title="Focus28 Philosophy">>> Philosophy</a></li>
</ul>-->
</li>
<li><a href="success-stories.asp" title="View Focus28 Success stories">>> Success Stories</a>
<ul><li><a href="tell-us-your-story.asp" title="Tell us your Success Stories">>> Tell us Your Story</a></li>
</ul>
</li>
<li><a href="bariatric-surgery-program.asp" title="The bariatric surgery program">>> Bariatric Surgery Program</a>
<ul>
<!--<li><a href="do-i-qualify.asp" title="Find out if you qualify">>> Do I Qualify</a></li>-->
<li><a href="bmi-calculator.asp" title="BMI calculator">>> BMI Calculator</a></li>
<li><a href="questions-and-answers.asp" title="Questions and Answers">>> Q & A</a></li>
<li><a href="bariatric-fitness-packages-and-products.asp" title="Bariatric fitness packages and products">>> Fitness Packages<br><span style="margin-left: 12px; ">& Products</span></a></li>
<!--<li><a href="bariatric-fitness-products.asp" title="Bariatric fitness products">>> Fitness Products</a></li>-->
</ul>
</li>
<!--<li><a href="non-bariatric-programs.asp" title="Non-bariatric programs">>> Non-Bariatric Programs</a>
<ul>
<li><a href="non-bariatric-fitness-packages-and-products.asp" title="Non-bariatric fitness packages and products">>> Fitness Packages<br><span style="margin-left: 12px; ">& Products</span></a></li>
<li><a href="non-bariatric-fitness-products.asp" title="Non-bariatric fitness products">>> Fitness Products</a></li>
</ul>
</li>-->
<li><a href="c-5-focus28-products.aspx" title="Visit the health supplement store">>> Health Supplement Store</a>
</li>
<li><a href="support-system-partner.asp" title="Learn about our support system partners">>> Support System Partner(s)</a>
<!--<ul>
<li><a href="transfigure-spa.asp" title="Learn about Transifigure Spa">>> Transfigure Spa</a></li>
</ul>-->
</li>
<li><a href="news-and-events.asp" title="News and events">>> News & Events </a>
<ul><li><a href="wellness-cruise.asp" title="Wellness Cruise">>> Wellness Cruise </a>
</li>
<li><a href="articles.asp" title="Articles">>> Articles </a>
</li>
</ul>
</li>
<li><a href="newsletter.asp" title="Focus28 Newsletter">>> Focus28 Newsletter</a></li>
<li><a href="membership-information.asp" title="Learn more about Focus28 membership">>> Membership Information</a>
<ul>
<li><a href="createaccount.aspx?checkout=False" title="Join Us Now">>> Join Us Now</a></li>
<li><a href="signin.aspx" title="Login">>> Login</a></li>
</ul>
</li>
<!--<li><a href="#" title="Vendor Information">>> Vendor Information</a>
<ul>
<li><a href="#" title="Vendor Request">>> Vendor Request</a></li>
<li><a href="#" title="Vendor Login">>> Vendor Login</a></li>
</ul>
</li>-->
<li><a href="request-information.asp" title="Request information from Focus28">>> Request Information</a>
</li>
</ul>
CSS
#nav, #nav ul { /* all lists */
padding: 0;
margin: 0 0 30px 0;
list-style: none;
float : left;
width : 148px;
font-size: 11px;
}
#nav li { /* all list items */
position : relative;
float : left;
line-height : 2.0em;
/*margin-bottom : -1px;*/
margin-bottom : 0px;
width: 148px;
border-bottom: 1px dotted #ccc;
}
#nav li ul { /* second-level lists */
position : absolute;
left: -999em;
margin-left : 159px;
margin-top : -2.0em;
}
#nav li ul li {
border-bottom: 1px solid #ccc;
}
#nav li ul li a{
color : white;
background-color : #002b7c;
}
#nav li ul li a:hover{
color: white;
background-color: #b16800;
font-weight: bold;
}
#nav li:hover, #nav li.hover {
position: static;
}
.small {
line-height: 1.3em;
font-size: 10px;
padding-left: 20px;
}
.smalltwo {
line-height: 1.3em;
font-size: 10px;
}
#nav li ul ul { /* third-and-above-level lists */
left: -999em;
}
#nav li a {
width: 148px;
w\idth : 148px;
display : block;
/*font-weight : bold;*/
text-decoration : none;
background-color : white;
/*border : 1px solid black;*/
padding : 0 0.5em;
color: #002b7c;
}
#nav li a:hover {
color : white;
background-color : #002b7c;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
left: auto;
}
|