SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member Zaf's Avatar
    Join Date
    Jun 2003
    Location
    uk
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    replacing "submit" button in form with image

    Hi guys,
    I would like to know if it is possible to replace the dull-looking "submit" button in a form with my own image of a button?

    Thanks,
    Zaf

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    This has nothing to do with ASP really. I'll move it for you. In the meantime, your answer is :
    HTML Code:
    <input type="image" name="submit" src="/images/myimage.gif" />

  3. #3
    SitePoint Wizard trampt's Avatar
    Join Date
    Jan 2003
    Location
    Newport, RI
    Posts
    1,997
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    don't forget to include border="0" otherwise you will get an outline in some browsers

  4. #4
    SitePoint Member ahmed momtaz's Avatar
    Join Date
    Dec 2003
    Location
    egypt
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    this one could work

    I would like to know if it is possible to replace the dull-looking "submit" button in a form with my own image of a button?


    this one could work too

    <button type=submit><img src="button.gif"></button


Bookmarks

Posting Permissions

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