.menu { font-weight: normal; list-style: none; text-align: center; } .menu ul { font-weight: normal; padding: 0; margin: 0; list-style: none; text-decoration: none; } .menu ul li { font-weight: normal; float: left; position: relative; text-decoration: none; list-style: none; z-index: 20; } .menu ul li a, .menu ul li a:visited,* html .menu ul li a { font-weight: normal; display: block; text-decoration: none; color: #1f3348; width: 92px; height: 1.5em; background: #fff; padding-left: 0px; margin-right: 0px; font-size: 1em; list-style: none; border-color: #e9e9e9 #e9e9e9 #e9e9e9 #fff; border-width: 1px 0 1px 1px; border-style: solid; } .menu ul li ul { display: none; list-style: none; } .menu table { margin: -1px; border-collapse: collapse; font-size: 1em; list-style: none; } .menu ul li:hover a, .menu ul li a:hover { font-weight: normal; color: #fff; background: #1f3348; text-decoration: none; list-style: none; border-color: #fff; border-width: 1px 0 1px 1px; border-style: dotted; } .menu ul li:hover ul, .menu ul li a:hover ul { font-weight: normal; display: block; position: absolute; top: 1.65em; margin-top: 0px; left: 0px; width: 95px; text-decoration: none; list-style: none; } .menu ul li:hover ul li a, .menu ul li a:hover ul li a { font-weight: normal; display: block; border: 0; margin: 0; color: #fff; background: #F63; font-size: 1em; height: auto; line-height: 1em; padding: 3px; width: 86px; text-align: left; border-left: 1px dotted #fff; border-bottom: 1px dotted #fff; text-decoration: none; list-style: none; } .menu ul li:hover ul li a:hover, .menu ul li a:hover ul li a:hover { font-weight: normal; color: #fff; background: #1f3348; border-left: 1px dotted #fff; border-bottom: 1px dotted #fff; text-decoration: none; list-style: none; } #d li a { width: 154px; }