#context_menu { display: none; z-index: 100000; position: absolute; background-color: rgb(229, 229, 229); border-width: 1px; border-style: solid; border-color: rgb(114, 114, 114); padding: 0 0.25em 0 1.5em; width: 12em; font-size: 12px; overflow: hidden; white-space: nowrap; list-style: none; margin: 0; } #context_menu button { display: block; padding: 5px; background: transparent; border: 0; outline: 0; width: 100%; text-align: left; color: #333; } #context_menu button:hover { background-color: #DDD; cursor: pointer; color: #000; } #context_menu button > span { display: inline; position: absolute; right: 5px; text-align: right; color: rgb(102, 102, 102); }