how to use a graphic in a form

R

Rabel

this should be really easy but for some reason im having trouble with
it, how do I make a graphic submit instead of the input type = "submit"
default.
 
J

Jukka K. Korpela

Scripsit Rabel:
this should be really easy

No it shouldn't. Things that shouldn't be done (most of the time) shouldn't
be really easy to do.
but for some reason im having trouble with it,

Did you consider reading the manual?
how do I make a graphic submit instead of the input type =
"submit" default.

Don't. You would pay a high price in functionality and accessibility, just
to get a misguidedly "artistic" graphic to appear in place of a submit
button.

But if you must, use

<INPUT TYPE="image" SRC="button.gif" VALUE="Submit now"
ALT="Submit now" NAME="Submit now">

See http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html for more info, and
please post the URL of your effort if problems remain.
 

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
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top