CSS : Setting font-family in select options doesn't work for chrome and IE browsers? -


i want define different font-family styles options of select, example :

<select> <option style="font-family:arial;">aaaa</option> <option style="font-family:times new roman;">aaaa</option> <option style="font-family:comic sans ms;">aaaa</option> </select>    

but code doesn't work in ie , chrome browsers.

an idea ?

thank in advance, cordially.

the options tags created browsers ui styles , hard , inconsistent style. either want use javascript, build other select (such list) or preference, leave browser default.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -