#cssdropdown, #cssdropdown ul {padding: 0; margin: 0; list-style: none;}
#cssdropdown li {float: left; position: relative;}

.mainitems {background-color: #FFFFFF;}

.mainitems A {margin-left: 6px; margin-right: 8px;}

.subuls {display: none; width: 10em; position: absolute; top: 1.4em; left: 0; background-color: #FFFFFF; line-height: 200%}
.subuls li {width: 100%;}

/* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
#cssdropdown li>ul {top: auto; left: auto;}

/* lists nested under hovered list items */
#cssdropdown li:hover ul, li.over ul {display: block; text-decoration:underline;}