Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you use an image as a submit button in a form? 1

Status
Not open for further replies.

sjf

Technical User
Jan 1, 2001
56
AU
Does anyone know a simple way to setup an image as a submit button in a form? I have a simple form that collects a persons email address for an opt in subscription to a newsletter and I would like it on the front page with a graphic that says SUBSCRIBE in the nice format my designer did for the page instead of a fugly standard form button.
Cheers
sjf
 
Thanks Tom for your reply, it works fine, my next challenge is to have the submission open a new browser window and post the information into the new window. Any suggestions?
Cheers

Simon
 
SJF,

try having a look at the following link, i had the same problem.

thread216-38406 DeltaFlyer ;-)

DeltaFlyer - The Only Programmer To Crash With Style.
 
Sorry wrong link, try this one.

thread216-39817 DeltaFlyer ;-)

DeltaFlyer - The Only Programmer To Crash With Style.
 
<a href=&quot;javascript:myFunction()&quot;><img src=&quot;myImage.gif&quot;></a>
I choose this one cuz I don't want to have to code the cursor change in both Nets&quot;crap&quot; and IE.

MoK
&quot;** Happy Hacking **&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top