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

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -