css:
input#search-box {
background: url(myimage.png);
}
where search-box is the id of the box you want to change.
Thread Starter
corefx
(@corefx)
so does the input type change or no? I.e. is it type=”image” or type=”submit”
Aah, I see what you’re getting at. You can use both. If you use type=”submit”, you’ll need to use the css I mentioned above. If you use type=”image”, you’ll need to add an src=”myimage.jpg” Both do the same thing, but be sure to test in different browsers, because support for form-button styling is a little shoddy. I’d probably go with type=”image” if I were you.
This page may help: http://htmldog.com/guides/htmlbeginner/forms/
Thread Starter
corefx
(@corefx)
yeah i should of clarified, the question should have been use type=”image” or type=”submit” but thanks for the help