#right form .dropdowntime, .dropdowntime { position: relative; } #right form .dropdowntime input, .dropdowntime input { width: 8em; } .morning { background: #ffc; } .noon { background: #fcc; } .afternoon { background: #cff; } .evening { background: #ccf; } .midnight { background: #ccc; } .dropdowntime img { position: relative; top: 3px; cursor: pointer; } .dropdownpopup { position: absolute; left: 10.2em; top: 0; display: none; } .dropdownpopup.focused { display: block; }