Solved

Simple html question

Posted on 2000-03-21
13
178 Views
Last Modified: 2012-05-04
hey folks,

I want a submit button with a simple piece of graphics ..hmmm..apparantly that isnt all that easy..hehe

amongst the zillion differant things I tried here is one :

<INPUT TYPE="SUBMIT" IMG SRC="end.gif">


uhm..what am I doing wrong ?


Regards,

GOMF
0
Comment
Question by:GOMF
[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
13 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640159
Try this:

<INPUT type='image' src='end.gif'>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640166
Try this:

<INPUT type='image' src='end.gif'>
0
 

Author Comment

by:GOMF
ID: 2640173
no can do, the IMAGE type returns a position of where i clicked on the picture, I need to be able to send data with the form back to a isapi module.


Regards,

GOMF
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:GOMF
ID: 2640188
above reason
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640194
Try this:

<A href='#' onClick='document.formname.submit();return(false);'><IMG src='end.gif'></a>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640199
... where "formname" is the name of your form.
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640460
also, include border=0 in the image tag.

<A href='#' onClick='document.formname.submit();return(false);'><IMG src='end.gif' border='0'></a>
0
 

Expert Comment

by:Deathead
ID: 2640631
Knight is right that would be the best way to do it
0
 

Expert Comment

by:ma8yr
ID: 2640801

<FORM ACTION="" METHOD="">
<INPUT TYPE="Image" SRC="end.gif" name="Submit">
</FORM>

where the Action= the location and operation of the ISAPI module and the method is either Post or Get, in your case "post".
0
 
LVL 33

Accepted Solution

by:
knightEknight earned 50 total points
ID: 2641386
Using input type=image is the same answer that was already rejected.
0
 

Author Comment

by:GOMF
ID: 2643391
yeah well no can do.
0
 

Author Comment

by:GOMF
ID: 2643393
thanks

Regards,

GOMF
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2644578
Did you try this:

<A href='#' onClick='document.formname.submit();return(false);'><IMG src='end.gif' border='0'></a>


... where "formname" is the name of your form?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

733 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