ul, li {
list-style-type: none;
margin: 0;
padding: 0;
}

div.menuB {
position: absolute;
width: 100%;
}
div.menuB li {
float: left;
width: 160px;
}

div.menuB a {
margin: 0 2px;
min-height: 20px;
display: block;
text-align: center;
font-weight: bold;
border: 1px solid gray;
text-decoration: none;
color: #000;
background: #fff;
}

div.menuB a:hover {
background: #ccc;
border: 1px solid gray; 
}

#smenuB1, #smenuB2, #smenuB3, #smenuB4, #smenuB5 {
display: none;
float: left;
width: 120px;
font-size: 12px;
}
#smenuB1 a, #smenuB2 a, #smenuB3 a, #smenuB4 a, #smenuB5 a {
font-weight: normal;
border-top: 0 none;
}