html - Adding icons to options in multiselect? -


this question has answer here:

how add icons multiselect component?

i have found firefox solution (see answer below); have found nothing interoperable.

should give on feature?

firefox solution found here: http://www.456bereastreet.com/lab/styling-form-controls-revisited/select-multiple-option, with:

html:

<select id="el03" size="3" multiple="">     <option selected="">         #el03 option 1     </option>     <option>         #el03 option 2     </option>     <option>         #el03 option 3     </option>     <option>         #el03 option 4     </option>     <option>         #el03 option 5     </option> </select> 

css:

#el03 option {     background: url("/i/icon-info.gif") no-repeat scroll 100% 50% transparent; } 

run code: http://plnkr.co/edit/zpnrq0rey0ln8edkhwni?p=preview


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -