how to use an image instead of a submit button

Discussion in 'HTML' started by mantrid, Nov 10, 2006.

  1. mantrid

    mantrid Guest

    can anyone tell me or direct me to a link that shows how to use an image
    instead of a submit button and a form to post data forward to the next page?
    I wish to replace my buttons with images( icons) can use <a href> tag to
    simply open the page but how to carry forward a variable
    mantrid, Nov 10, 2006
    #1
    1. Advertising

  2. mantrid

    rh Guest

    "mantrid" <> wrote in message
    news:Xa55h.11325$...
    > can anyone tell me or direct me to a link that shows how to use an image
    > instead of a submit button and a form to post data forward to the next page?
    > I wish to replace my buttons with images( icons) can use <a href> tag to
    > simply open the page but how to carry forward a variable
    >
    >


    http://www.w3.org/TR/html4/interact/forms.html#input-control-types
    rh, Nov 10, 2006
    #2
    1. Advertising

  3. mantrid

    mantrid Guest

    THANKS
    thats helped alot

    "rh" <> wrote in message
    news:...
    >
    > "mantrid" <> wrote in message
    > news:Xa55h.11325$...
    > > can anyone tell me or direct me to a link that shows how to use an image
    > > instead of a submit button and a form to post data forward to the next

    page?
    > > I wish to replace my buttons with images( icons) can use <a href> tag to
    > > simply open the page but how to carry forward a variable
    > >
    > >

    >
    > http://www.w3.org/TR/html4/interact/forms.html#input-control-types
    >
    >
    >
    mantrid, Nov 10, 2006
    #3
  4. mantrid

    Jeff North Guest

    On Fri, 10 Nov 2006 20:21:11 GMT, in comp.lang.php "mantrid"
    <>
    <Xa55h.11325$> wrote:

    >| can anyone tell me or direct me to a link that shows how to use an image
    >| instead of a submit button and a form to post data forward to the next page?
    >| I wish to replace my buttons with images( icons) can use <a href> tag to
    >| simply open the page but how to carry forward a variable


    <form>
    <button type="submit" value="next"><img src="btn.gif"></button>
    </form>
    or something like that.
    ---------------------------------------------------------------
    : Remove your pants to reply
    ---------------------------------------------------------------
    Jeff North, Nov 10, 2006
    #4
  5. mantrid

    manoj Guest

    Hi..
    use this

    <input type="submit" name="submit" border="0"
    style="background-image:url(submit.jpg)" />

    Bye

    mantrid wrote:
    > THANKS
    > thats helped alot
    >
    > "rh" <> wrote in message
    > news:...
    > >
    > > "mantrid" <> wrote in message
    > > news:Xa55h.11325$...
    > > > can anyone tell me or direct me to a link that shows how to use an image
    > > > instead of a submit button and a form to post data forward to the next

    > page?
    > > > I wish to replace my buttons with images( icons) can use <a href> tag to
    > > > simply open the page but how to carry forward a variable
    > > >
    > > >

    > >
    > > http://www.w3.org/TR/html4/interact/forms.html#input-control-types
    > >
    > >
    > >
    manoj, Nov 11, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Russell
    Replies:
    3
    Views:
    6,898
    Lau Lei Cheong
    Jun 24, 2004
  2. Mark
    Replies:
    1
    Views:
    1,677
  3. James Storey via JavaKB.com
    Replies:
    7
    Views:
    11,422
  4. Network-Man
    Replies:
    5
    Views:
    78,249
    gaul1
    Jul 7, 2012
  5. Replies:
    4
    Views:
    1,195
    Adrienne Boswell
    Mar 23, 2010
Loading...

Share This Page