Change default form button

Discussion in 'HTML & Website Design' started by p.emanuel, Jun 5, 2007.

  1. #1
    Hello

    Can you please tell me if is it possible to change the default "choose" button
    from this form with an image (custom button) :

    
    <form method="post" action="upload.php" enctype="multipart/form-data">
    File : <input type="file" name="file"  /><br/>
    <input type="image" src="images/send.gif" name="upload_form" value="Upload Now!">
    </form>
    
    HTML:
    Sorry for my poor english.
     
    p.emanuel, Jun 5, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    ajsa52, Jun 5, 2007 IP
  3. p.emanuel

    p.emanuel Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know how to change submit button (I use this in example above)
    I need to change choose button.(please look at the attachement)
     

    Attached Files:

    • eg.gif
      eg.gif
      File size:
      2 KB
      Views:
      1,318
    p.emanuel, Jun 5, 2007 IP
  4. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #4
    There are a few things I'd like to change with a few form elements too but I'm afraid you are limited.
     
    krt, Jun 5, 2007 IP
  5. Cosmo Designs

    Cosmo Designs Peon

    Messages:
    247
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it's simple, the best way to do it imo is to play with css
    background-image: url(image.jpg) will do the trick ;)
    you can play also with the borders and other css elements.
    if that doesn't work for you, check this site pagetutor.com/button_designer/index.html
    good luck ;)
     
    Cosmo Designs, Jun 6, 2007 IP