...

View Full Version : form submit image



coderpro
05-25-2005, 02:13 PM
how do i change the input button for a FORM to a picture?

Like
<input type=submit value="Click"> will make a gray button...

rwildcard
05-25-2005, 02:25 PM
<INPUT
id="submit"
style="BACKGROUND-IMAGE: url(click.gif)"
type="submit"
value="Click"
name="Submit1">

That is the first and easiest way...the other is to actually use an img tag and add onclick, onmouseover....etc to it. I hope this helped...

mark87
05-25-2005, 02:45 PM
You can do it easier like this -

<input type="image" src="image.jpg">

The image type is by default, a submit button. If you get what I mean.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum