Solved

Using custom image for selection list

Posted on 2014-03-12
2
217 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
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
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
Comment Utility
I was afraid of that.  Thanks.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Summernote required 3 56
Better way of using callback in javascript 7 52
jQuery CSS Scroll Issue 3 30
jqplot Pie Chart 2 11
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now