I have created an asp:listbox with some options in it.
<select size="4" name="ItemContainerBox" onchange="javascript:setTimeout('__doPostBack(\'ItemContainerBox\',\'\')', 0)" id="ItemContainerBox" class="FTP_Content">
<option value="test1" class="FTP_Item noSelect">test1</option>
<option value="test2" class="FTP_Item noSelect">test2</option>
<option value="test3" class="FTP_Item noSelect">test3</option>
<option value="test4" class="FTP_Item noSelect">test4</option>
</select>
If I now click any option, it will be highlighted in blue and even stays blue, after releasing the mouse button.
What I have tried so far:
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
With all this code above, the text inside the option does not get highlighted or marked. But the background of the option is still getting blue.