faqts : Computers : Programming : Languages : JavaScript : Forms : SELECT

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 19 people (53%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Can I change the font color and size of only a part of a string displayed in the select box and will it work on both NN and IE ?

Mar 15th, 2003 23:30
Yuriy Fuksenko, Neville Lewis,


Not exactly :)
You may create your own element, that will behave and looks like 
SELECT, but really will be a DIV, so you can do anything you want about 
formating it.
You can see an example working in IE5.5+ and NS 6.2+ at:
http://www.devsoftware.com/dhtmlTest/select.html