<style type="text/css">

/* style the outer div to give it width */
.menu {
	width: 700px;
	height: 20px;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
	height:25px;
	background-color: #990000;
}

/* style the sub-level lists */
.menu ul ul {width:15em;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {float:left;height:25px;line-height:25px;}

/* style the sub level list items */
.menu ul ul li {display:block;width:12em;height:auto;position:relative;line-height:25px;}

/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	float:left;
	font-size:10px;
	text-decoration:none;
	color:#FFFFFF;
	padding-top: 0;
	padding-right: 1em;
	padding-bottom: 0;
	padding-left: 1em;
	background-color: #990000;
	font-weight: bold;
	font-family: Tahoma;
}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {
	display:block;
	color:#000000;
	width:12em;
	height:100%;
	line-height:1em;
	background-color: #CCCCCC;
	float: left;
	padding-top: 0.5em;
	padding-right: 1em;
	padding-bottom: 0.5em;
	padding-left: 1em;
	text-align: left;
}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; left:0; top:0; font-size:12px; z-index:1;}
.menu ul ul table {lef\t:1px;}

.menu li:hover {position:relative;}
.menu :hover > a {
	color:#990000;
	background-color: #CCCCCC;
}
.menu ul ul :hover > a {
	color:#990000;
	background-color: #FFFFFF;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:25px;left:0;width:10em;}


/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul {visibility:visible; height:auto; padding-bottom:4em; background:transparent;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{visibility:visible;}
</style>
