2 Replies - 8951 Views - Last Post: 07 October 2005 - 06:26 PM Rate Topic: -----

#1 gsnipe77  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 34
  • Joined: 11-August 05

Turning an image into a form button

Posted 04 October 2005 - 08:47 AM

I believe there is a tag for this but I cannot find it. I want to turn my image into a form button. Does anybody know how this is possible? Or what tage I have to add to do this??

thanks,

gsnipe
Is This A Good Question/Topic? 0
  • +

Replies To: Turning an image into a form button

#2 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

Re: Turning an image into a form button

Posted 04 October 2005 - 09:55 AM

would it be correct to say that you have a form button that you want as an image?

I was reading here

that you can use standard html tags within the cfform tag

so theoretically, you should be able to do this:

<cfform>
   <input type = "image" src="someimage" >
</cfform>


Was This Post Helpful? 0
  • +
  • -

#3 wiredwizard  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 76
  • Joined: 07-May 05

Re: Turning an image into a form button

Posted 07 October 2005 - 06:26 PM

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

will work on either html form or cfform

you can also use javascript to have rollover effects and so forth heres a good starting page for more info

http://www.cs.tut.fi...magebutton.html

the cf tags are parsed at the server so you are basically using <form> tags when it gets to the browser
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1