Solved

Using custom image for selection list

Posted on 2014-03-12
2
224 Views
Last Modified: 2014-03-12
I've attached a copy of the button.  I have the coding for the selection list but I want to use the attached image instead of the boring Select box.  How would I go about doing this or is it a waste of time?  

<form name="country" method="post" action="rep_results_country.cfm">
        
        <select name="Country">
        <option selected>-Select-
        <cfoutput query="by_country">
            <option value="#Country#">#Country#</option>            
            </cfoutput>
            </select>
        <br>
        <br>
        <input type="image" src="assets/images/contacts/search-button.png" value="Search" name="submit"
        <input type="image" src="assets/images/contacts/reset-button.png" value="Reset" name="Reset">
      </form>
0
Comment
Question by:lrollins
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39924175
Dropdowns are notoriously difficult to style cross browser.
About the best you can do is change borders, backgrounds etc.
Even the jquery plugins don't do much more than this and changing the dropdown image (but this is done by replacing the dropdown with a  list)
0
 
LVL 1

Author Closing Comment

by:lrollins
ID: 39924226
I was afraid of that.  Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question