how to use an image instead of a submit button

M

mantrid

can anyone tell me or direct me to a link that shows how to use an image
instead of a submit button and a form to post data forward to the next page?
I wish to replace my buttons with images( icons) can use <a href> tag to
simply open the page but how to carry forward a variable
 
J

Jeff North

| can anyone tell me or direct me to a link that shows how to use an image
| instead of a submit button and a form to post data forward to the next page?
| I wish to replace my buttons with images( icons) can use <a href> tag to
| simply open the page but how to carry forward a variable

<form>
<button type="submit" value="next"><img src="btn.gif"></button>
</form>
or something like that.
 
M

manoj

Hi..
use this

<input type="submit" name="submit" border="0"
style="background-image:url(submit.jpg)" />

Bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top