jak dobrać się do tego ptaszka rozwijanego, aby mi się nie zmieniał gdy najadę na select? Poniżej stan bez najechania i po najechaniu. Chcę aby stan po najechaniu czy rozwinięciu był taki sam jak bez najechania.

<script type="text/javascript"> function rozwin(){ document.getElementById('list').setAttribute('style', ''); } function ustawWartosc(id){ document.getElementById('wybrany').setAttribute('value', ''+id+''); } </script> <style> #list{ position: absolute; text-indent: 5px; border: 1px solid #000000; width: 130px; overflow: hidden; cursor: pointer; } ul{ list-style-type: none; padding: 0px; margin: 0px; } li:hover{ background-color: #CCCCCC; } </style> <div id="list" onClick="rozwin();" style="height: 20px;"> <ul> </ul> </div> <input type="hidden" id="wybrany" value="" />
div{ -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }