changing display style of certain options in a select list

I wish to alter the rendering eg.bold/italic of certain options in a select list.I have tried setting the class name of the relevant options which has no effect. Can you suggest any solution.I'm using an IE5 browser.

Thanks
Paul.
paulboswwodAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
JavaBloggsConnect With a Mentor Commented:
Okay...
  You are a little limited in what you can do. You can set, font face, size, colour and background colour, but thats it...

  If you set up a coupple of classes in the document, you can specify a different class between the different options, and example of this can be seen on the following page:

  http://www.rldevelopment.co.uk/test/idle/dropdown.html

  Note the bottom options, if you look at the page source you will see that although a colour shas been specified for them and this is working, the other attributes, like bold text and size are not... these can only be specified once and are common to the whole list...

  Hope this helps
  Regards
  Me

0
 
tzaradCommented:
You can only give a style to the select tag not on the option one. ;-(
0
 
davlun20080Commented:
Link above not working for me...
davlun
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
paulboswwodAuthor Commented:
Thanks very much , changing the colors will certainly make the required options stand out.

Paul.
0
 
JavaBloggsCommented:
 No worries...

  davlun20080, if you want to look at it it is working again now... sorry think the server fell over for a while  :o)
0
 
davlun20080Commented:
Looks great!  any way in NS?
0
 
JavaBloggsCommented:
Nope, its IE 4+

ALTHOUGH: (not much of a consolation) Netscape will accept the font-size: x-small; Think thats about it...
0
All Courses

From novice to tech pro — start learning today.