Just thought of this... one thing you could do is set the text color of each option. That *does* work. Might serve your purpose alright.
You can actually set the color style attribute or background-color, both work. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, October 19, 2005 3:10 pm, Dave Newton said: > Faisal Mahmoud wrote: > >>I am creating a drop down list using the HTML <select> and <option> >>tags. The items in the list will be color names (ex. red, green, blue, >>etc..). I would like a small square image to be next to each color >>name text in the list. How would I go about this in my jsp file with >>my struts tags? >> >> > By rewriting the browser. > > I've never seen a browser support anything other than text inside a > select box w/o using a plugin of some sort (flash, applet, etc.) > > Dave > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]