I found a website a while ago which had a really good example of both a horizontal and vertical css menu. The problem is I canít remember where or what it was called and I am now having trouble with the vertical menu.

The menu works fine in Firefox but in IE6 when you hover over a button the drop down menu doesnít flow down the page but goes across the page.

Does anyone know how to fix this??? If not where the navigation comes from so I can go back to the site and re read the information. Or finally a good example of such a menu I particularly like how it still highlights the top level menu as you scroll over the second level menu.

Cheers for any help.


Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSS Menu - Horizontal</title>
<style type="text/css">
/* Root = Horizontal, Secondary = Vertical */
ul#navmenu {
  margin: 0;
  border: 0 none;
  padding: 0;
  width: 564px; /*For KHTML*/
  list-style: none;
  height: 24px;
  background-color:#00FF99;
}

ul#navmenu li {
  margin: 0;
  border: 0 none;
  padding: 0;
  float: left; /*For Gecko*/
  display: inline;
  list-style: none;
  position: relative;
  height: 24px;
}

ul#navmenu ul {
  margin: 0;
  border: 0 none;
  padding: 0;
  list-style: none;
  display: none;
  position: absolute;
  top: 24px;
  left: 0;
}

ul#navmenu ul:after /*From IE 7 lack of compliance*/{
  clear: both;
  display: block;
  font: 1px/0px serif;
  content: ".";
  height: 0;
  visibility: hidden;
}

ul#navmenu ul li {
  float: left; /*For IE 7 lack of compliance*/
  display: block !important;
  display: inline; /*For IE*/
}

/* Root Menu */
ul#navmenu a {
  border: 1px solid #FFF;
  border-right-color: #CCC;
  border-bottom-color: #CCC;
  padding: 0 6px;
  float: none !important; /*For Opera*/
  float: left; /*For IE*/
  display: block;
  background: #ebeced;
  color: #666;
  font: 11px/22px Arial, Helvetica, sans-serif;
  text-decoration: none;
  height: auto !important;
  height: 1%; /*For IE*/
  width: 80px;
}

/* Root Menu Hover Persistence */
ul#navmenu a:hover,
ul#navmenu li:hover a,
ul#navmenu li.iehover a {
  background: #e72130;
  color: #FFF;
}

/* 2nd Menu */
ul#navmenu li:hover li a,
ul#navmenu li.iehover li a {
  float: none;
  background: #ebeced;
  color: #000;
}

/* 2nd Menu Hover Persistence */
ul#navmenu li:hover li a:hover,
ul#navmenu li:hover li:hover a,
ul#navmenu li.iehover li a:hover,
ul#navmenu li.iehover li.iehover a {
  background: #e72130;
  color: #FFF;
}

ul#navmenu ul ul,
ul#navmenu ul ul ul {
  display: none;
  position: absolute;
  top: 0;
  left: 94px;
}

/* Do Not Move - Must Come Before display:block for Gecko */
ul#navmenu li:hover ul ul,
ul#navmenu li:hover ul ul ul,
ul#navmenu li.iehover ul ul,
ul#navmenu li.iehover ul ul ul {
  display: none;
}

ul#navmenu li:hover ul,
ul#navmenu ul li:hover ul,
ul#navmenu ul ul li:hover ul,
ul#navmenu li.iehover ul,
ul#navmenu ul li.iehover ul,
ul#navmenu ul ul li.iehover ul {
  display: block;
}


</style>
<!--[if gte IE 5.5]>
<script language="JavaScript" src="dhtml.js" type="text/JavaScript"></script>
<![endif]-->
</head>
<body>


<ul id="navmenu">
<li><a href="/">Home</a></li> 
	<li><a href="">About Us</a>
		<ul>
		<li><a href="">work</a></li>
		<li><a href="">cv</a></li>
		<li><a href="">interests</a></li>
   		</ul>
   		</li> 
	<li><a href="">test</a> 
		<ul>
		<li><a href="">test</a></li>
		<li><a href="">test</a></li>
		<li><a href="">test</a></li>
		</ul>
		</li> 
	<li><a href="">sport</a> 
        <ul>
        <li><a href="">football</a>
		        <li><a href="">cricket</a>
        </ul>
      	</li> 

	<li><a href="">Gambling</a> 
        <ul>
        <li><a href="">poker</a></li>
        <li><a href="">sports betting</a></li>
		</ul>
      	</li> 

	<li><a href="">Contact Us</a></li> 		
			 
</ul>

</body>
</html>