I saw a reference to styling optgroup within an option list on one of the resources. Try a google search for optgroup css. Ted
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sarah Peeke (XERT) Sent: Sunday, March 27, 2005 5:17 PM To: WSG Subject: [WSG] Style part of form field Hi all I would like to be able to give a different style to *part* of an option field within a form. I cannot seem to find any reference to whether the following is possible: <form> <select> <option value="something">Name <span>(with photo)</span></option> <option value="something">Name <span>(with photo)</span></option> <option value="something">Name <span>(with photo)</span></option> </select> </form> Ideally the words within the <span> tags would be styled differently to those outside. Can anyone shed any light on this please? -- XERT Communications email: [EMAIL PROTECTED] office: +61 2 4782 3104 mobile: 0438 017 416 http://www.xert.com.au/ web development : digital imaging : dvd production ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
