Select Categories Below
Advertisement
Start Your Own Q&A Site
Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.
Status: Closed Points: 75 Time: 15:36 - Mar 18, 2007
sbjc23
I want to add a small image as selections instead of text, is there a way to accomplish this?
Categories:
Add Categories
When adding more than one category, separate them with commas.
nidhi
Date:: Apr 12, 2007
Time:: 06:16
Interesting question. Ive not seen anything like that. The only thing Ive done before is to show an image based on a selection (javascript). Not sure from what u ask, if its possible using DHTML
Time:: 06:38
sexy example of dhtml, its not a dropdown though http://www.milonic.com/mfa/2004-April/ad...
Time:: 07:12
Yeah, not really what I wanted but close. So there is no way to do it with the normal tags?
Time:: 07:34
I'll have a dig around, see what I can come up but Ive never come across this before
Date:: May 07, 2007
Time:: 07:44
I'm assuming that this cant be done. Thanks for the DHTML version.
Time:: 12:30
Yea, Im sorry, I couldnt find a way of doing it, hence no response from me.
infobbtechno
Date:: Oct 22, 2008
Time:: 11:01
Though it is possible in Mozilla, but IE doesn't support it :( <option value="value" style="background:url('image_location') no-repeat left">Your text here</option> Any body have some comments about IE??
sergiogumercindo
Date:: Mar 02, 2009
Time:: 09:12
Hi, u can use classes specifics for each flag in tag option, exemple:<option class="flag" value="br">BRASIL</options>, and declare the details for your background (color, image, image-position).I used just one image content all flags around world and I specificied just the background position, in css file: option.flag[value="br"]{ background-image: url(../imagens/flags.gif);background-repeat: no-repeat;background-attachment: scroll;option.br{background-position:0 -277px;} much moore easy to update;
sergiogumercindo1
Time:: 09:13
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
How do I change the font color for an option within a SELECT tag in HTML?
How do I change the font size for an option within a SELECT tag in HTML?
How can I control the background image, the height and width and border of se...
How do I set the width of a Select Tag box with multiple selections in HTML?
You have 100 characters to use
Rank
Expert
Points
1.
10354
2.
6493
3.
5596
4.
4848
5.
3487
6.
2840
7.
2770
8.
2303
9.
1820
10.
917
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software