#menu { position: absolute; font-family: Arial, Helvetica, sans-serif; font-size: 100%; } #menu li { float: left; list-style-type: none; width: 102px; border: 1px solid silver; text-indent: 0px; margin-left: 3px; background-color: rgb(0,66,0); color: white; } #menu li a { text-decoration: none; width: 100%; display: block; background-color: rgb(0,66,0); color: white; } #menu li a:hover { color: rgb(0,66,0); background-color: white; }