Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    form submit image

    how do i change the input button for a FORM to a picture?

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

  • #2
    New to the CF scene
    Join Date
    May 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    css or img

    <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...

  • #3
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •