I have integrated a WebView
into one of my software applications, and within the HTML page it is rendering, there is a <select>
tag. I am interested in enhancing the <option>
elements within this select tag by adding icons to them:
(The shadow effect is missing, making it easy to overlook that this is a dropdown list; however, it is.)
Is it possible to achieve this? Despite my attempts to style the <option>
tags or insert images into them, all efforts have been unsuccessful.
Considering that the content will only be displayed using WebKit, I am open to solutions involving WebView techniques that may not be viable in a typical browser setting. Nevertheless, it would be impressive if the solution also worked seamlessly in a browser environment.