.hintLayer { border: 1px solid gray; color: gray; width: 200pt; background-color: white; font-size: 80%; max-height: 300pt; overflow-y: scroll; overflow: -moz-scrollbars-vertical; } .hintEmptyText { padding: 3px; } .hintItem { color: black; cursor: pointer; padding: 1px 3px; vertical-align: middle; } .hintActiveItem { color: white; background-color: #008; cursor: pointer; padding: 1px 3px; } .hintItem input, .hintActiveItem input { cursor: pointer; vertical-align: middle; margin-right: 3px; }