www.webdeveloper.com
Results 1 to 2 of 2

Thread: Form button

  1. #1
    Join Date
    Aug 2003
    Posts
    8

    Form button

    Hi,

    I want to create a form but I would like the submit button to be an image instead of the usual button. Is there any way to do this???

    Thanks!

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Take your pick:
    Code:
    <input type="image" src="myImage.gif" onclick="document.forms[0].submit();" title="Submit this form" alt="Submit">
    <button type="submit" style="background:url(myImage.gif);height:25px;width:50px;" title="Submit this form" alt="Submit">submit</button>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles