Results 1 to 1 of 1

Thread: Stupid space in all browsers for ul li

  1. #1
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default Stupid space in all browsers for ul li

    I have a drop down menu that works great in Chrome but in IE 9 I am getting spaces between my images for my navigation bar. My HTML is as follows...

    HTML
    HTML Code:
    <ul id="nav">
    <li><a href="#"><img src="../../images/global/header/home_btn.jpg" width="77" height="29" border="0" /></a>
    <ul>
    <li><a href="#" style="color:#000;">About Asthma</a></li>
    <li><a href="#" style="color:#000;">Treatment</a></li>
    <li><a href="#" style="color:#000;">Taking Control</a></li>
    <li><a href="#" style="color:#000;">Lifestyle</a></li>
    <li><a href="#" style="color:#000;">Resources & Support</a></li>
    </ul></li>
    <li><img src="../../images/global/header/spacer01.jpg" width="17" height="29" border="0" /></li>
    <li><a href="#"><img src="../../images/global/header/kids_btn.jpg" width="66" height="29" border="0" /></a></li>
    <li><img src="../../images/global/header/spacer01.jpg" width="17" height="29" border="0" /></li>
    <li><a href="#"><img src="../../images/global/header/allergy_btn.jpg" width="67" height="29" border="0" /></a></li>
    <li><img src="../../images/global/header/spacer01.jpg" width="17" height="29" border="0" /></li>
    </ul></li></ul>
    I have tried everything in my CSS to eliminate the spacing between the image files with no luck. Does anyone see what I am doing wrong here?
    Last edited by nate51; 02-19-2011 at 01:28 AM. Reason: space between horizontal <li>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •