title: IE7 li ul bug on dropdown menu
body: <p>hoping one of you guys can help me please. </p>
  
  <p>I have a basic list menu with two dropdowns. This all works fine on all browsers except IE6 and IE7. Please take a look at my markup. </p>
  
  <pre><code>&lt;nav&gt;
                  &lt;ul id="topNav"
                      &gt;&lt;li id="topNavFirst"&gt;&lt;a href="../about/about.php" id="aboutNav"&gt;About Us&lt;/a&gt;&lt;/li
                      &gt;&lt;li id="topNavSecond"&gt;&lt;a href="../people/our-people.php" id="peopleNav"&gt;Our People&lt;/a
                          &gt;&lt;ul id="subList1"&gt;&lt;li&gt;&lt;a href="../people/mike-hadfield.php"&gt;Mike Hadfield&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/karen-sampson.php"&gt;Karen Sampson&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/milhana-farook.php"&gt;Milhana Farook&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/kim-crook.php"&gt;Kim Crook&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/amanda-lynch.php"&gt;Amanda Lynch&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/gideon-scott.php"&gt;Gideon Scott&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/paul-fuller.php"&gt;Paul Fuller&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/peter-chaplain.php"&gt;Peter Chaplain&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../people/laura-hutley.php"&gt;Laura Hutley&lt;/a&gt;&lt;/li
                          &gt;&lt;/ul
                      &gt;&lt;/li
                      &gt;&lt;li id="topNavThird"&gt;&lt;a href="../services/our-services.php" id="servicesNav"&gt;Our Services&lt;/a
                          &gt;&lt;ul id="subList2"&gt;&lt;li&gt;&lt;a href="../services/company-and-commercial.php"&gt;Company &amp;amp; Commercial&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/employment.php"&gt;Employment&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/civil-litigation.php"&gt;Civil Litigation&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/debt-recovery.php"&gt;Debt Recovery&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/conveyancing.php"&gt;Conveyancing&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/commercial-property.php"&gt;Commerical Property&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/wills-and-probate.php"&gt;Wills &amp;amp; Probate&lt;/a&gt;&lt;/li
                              &gt;&lt;li&gt;&lt;a href="../services/family.php"&gt;Matrimonial &amp;amp; Family&lt;/a&gt;&lt;/li
                      &gt;&lt;/ul
                      &gt;&lt;/li
                      &gt;&lt;li&gt;&lt;a href="../news/news.php" id="newsNav"&gt;News&lt;/a&gt;&lt;/li
                      &gt;&lt;li&gt;&lt;a href="../careers/careers.php" id="careersNav"&gt;Careers&lt;/a&gt;&lt;/li
                      &gt;&lt;li&gt;&lt;a href="../contact/contact.php" id="contactNav"&gt;Contact&lt;/a&gt;&lt;/li
                  &gt;&lt;/ul&gt;&lt;!-- /topNav --&gt;
              &lt;/nav&gt;​ 
  </code></pre>
  
  <p>and the css</p>
  
  <pre><code>a {text-decoration:none;}
  
  #topNav {
  float:right;
  height:30px;
  margin:0;
  font-size:12px;
  }
  
  #topNav li {
  display:inline;
  float:left;
  list-style:none;
  color:#666;
  border-left: 1px solid #666;
  padding: 0 3px 0 3px;
  position:relative;
  }
  
  #topNav ul a {
  white-space:nowrap;
  }
  
  #topNav li a:hover {
  border-bottom:2px solid #369;
  }
  
  #topNavSecond a:hover {
  border-bottom:2px solid transparent !important;
  }
  
  #topNavFirst {
  border-left: 1px solid transparent !important;
  }
  
  /*****OUR-PEOPLE DROPDOWN*****/
  
  #topNav ul{
  background:#fff;
  border:1px solid #666;
  border-top:0px solid transparent;
  border-bottom:2px solid #666;
  list-style:none;
  position:absolute;
  left:-9999px;
  width:100px;
  text-align:left;
  padding:5px 0 5px 0px;
  margin:0 0 0 -4px;
  z-index:10;
  -webkit-box-shadow: 1px 1px 1px #666;
  -moz-box-shadow: 1px 1px 1px #666;
  box-shadow: 1px 1px 1px #666;
  vertical-align: bottom;
  }
  
  #topNav ul li{
  display:block;
  border-left:0px;
  margin-bottom: 0px;
  padding:0;
  vertical-align: bottom;
  }
  
  #topNav ul a{
  padding:0 0 0 5px;    
  }
  
  #topNav li:hover ul{ 
  left:auto;
  }
  
  #topNav li:hover a {
  color:#369;
  }
  
  #topNav li:hover ul a{
  text-decoration:none;
  color:#666;
  }
  
  #topNav li:hover ul li a:hover{
  color:#fff;;
  width:100%;
  border-bottom:0px solid transparent !important;
  }
  
  #topNav ul li:hover {
  background:#369;
  display: block;
  }
  
  #topNav ul li a {
  display: block;
  padding:0 0 0 4px;
  }
  
  /************/
  
  /*****OUR-SERVICES DROPDOWN*****/
  
  #topNavThird a:hover {
  border-bottom:2px solid transparent !important;
  }
  
  #topNavThird ul{ 
  /*background:#fff url(images/service-ul-bg.png) no-repeat;*/
  width:135px !important;
  /*margin-left:120px !important;*/
  }​
  </code></pre>
  
  <p>script</p>
  
  <pre><code>jQuery(document).ready(function () {
  
              $('#subList1').css("display", "none");
          $('#topNavSecond').hover(function () {
              $('#subList1').stop(true, true).fadeIn('400');
          },
          function(){
              $('#subList1').stop(true, true).fadeOut('400');
          });
           $('#subList2').css("display", "none");
          $('#topNavThird').hover(function () {
              $('#subList2').stop(true, true).fadeIn('400');
          },
          function(){
              $('#subList2').stop(true, true).fadeOut('400');
          });
      });  
  </code></pre>
  
  <p>here it is working perfectly </p>
  
  <p><a href="http://jsfiddle.net/BcWd9/6/" rel="nofollow">http://jsfiddle.net/BcWd9/6/</a></p>
  
  <p>here is a screen shot of how it looks in IE7. </p>
  
  <p>hadfield.andymcnallydesign.co.uk/images/ie7-error.jpg</p>
  
  <p>as you can see the ul is appearing to the right of the li and not the left and it is overlaying the top list. I've tried removing white space, but no luck. Any ideas? If one of you can help it would be much appreciated.  </p>