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

???

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.