Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I display images within a dropdown/combo box?

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
I have searched the net high and low for means of showing an image within a drop down list (aka: combo box).

All I've found was .NET related or java applets (I do not want to use Java Applets).

If this is not possible using <select> tag, I guess I'll just write a CSS+DHTML menu script to get the job done. I'm really hoping to find a solution to the combo box option though.

Hope to hear from you soon!

Thanks!




--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
It is not possible. While Firefox will allow you to put background image to options in a select box, most browsers will ignore those backgrounds. Your only option is javascript/css custom dropdown box.

[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top