Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Images as forms button

Posted on 1999-07-20
2
Medium Priority
?
145 Views
Last Modified: 2010-04-09
How can I insert an image that serves as a button in a form (eg that can perform submit action)? Pls clarify with CODES. Thanks
0
Comment
Question by:megaria
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
siabod earned 150 total points
ID: 1852142
Creat an image, in GIF or JPG format
Create the folowing HTML...or something like this
And that's it

<HTML><BODY>
<FORM ACTION="www.whatever.com" METHOD="get">
 <INPUT TYPE="text" NAME="TextField" VALUE="">
 <INPUT TYPE="img" SRC="whatever.gif">
</FORM>
</BODY></HTML>

I hope it helps you
0
 

Author Comment

by:megaria
ID: 1852143
siabod,

your codes works, just that it's type="image" and not "img" (gave me some minor complications). Thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question