Jump to content

Navigation bar IE6 dropdown not displaying


surfsup

Recommended Posts

Failry simple navigation bar created buthaving issues in that it does not show in IE6

 

Look at www.villasites.com in FF the about option has a dropdown... not in IE6 but no error showing

 

Here is nav bar code

 

<ul id="navbar">
<li><a href="#"><img src="images/about_top.gif" alt="about" width="85" height="11" border="0" /></a><ul>
  <li><a href="index.php">Home</a></li>
  <li><a href="whatwedo.php">What We Do</a></li>
  <li><a href="packages.php">Packages</a></li>
    <li><a href="gobespoke.php">Go Bespoke</a></li>
      <li><a href="whoarewe.php">Who Are We</a></li></ul></li>
  <li><a href="examples.php"><img src="images/examples.gif" alt="examples" width="110" height="11" border="0" /></a></li>
  <li><a href="prices.php"><img src="images/prices.gif" alt="prices" width="84" height="11" border="0" /></a></li>
  <li><a href="contact.php"><img src="images/contact.gif" alt="contact" width="94" height="11" border="0" /></a></li>
</li>
</ul>

 

and this is relevant CSS

 

#navbar {
    margin: 0;
    padding: 0;
    height: 1em; }
#navbar li {
    list-style: none;
    float: left; 

}
#navbar li a {
    display: block;
    padding: 0px 0px;
    background-color: #5e8ce9;
    color: #fff;
    text-decoration: none; 

}

#navbar li ul {
display: none;
width: 8em; /* Width to help Opera out */
background-color: #BEE1E1;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
color: #666;

}
#navbar li:hover ul {
display: block;
position: absolute;
margin: 0;
padding: 5px;
}
#navbar li:hover li {
    float: none; }
#navbar li:hover li a {
background-color: #BEE1E1;
border-bottom: 1px solid #fff;
color: #000;
padding: 5;
}
#navbar li li a:hover {
    background-color: #8db3ff; }

 

Thanks

???

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.