How to use an image as a button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mickey0
    New Member
    • Jan 2008
    • 142

    #1

    How to use an image as a button

    Hello,
    is it possible to put an image on a button? I mean something of similar:
    Code:
    <INPUT TYPE=BUTTON IMG="image.jpg" />
    I didn't find anything. If no, there any trick with JScript or ASP to do that?
    regards.
  • improvcornartist
    Recognized Expert Contributor
    • May 2007
    • 303

    #2
    Is this what you are looking for?
    Code:
    <input type="image" src="submit.gif" alt="Submit" />
    or
    <input type="button" value="Submit" style="background-image: url('image.gif');">

    Comment

    Working...