Hi Peter!

> <td>
>      <INPUT TYPE="SUBMIT" VALUE="OK" style="font size:20PX">
>      <a href="javascript:document.forms[0].submit()">
>      <img border=0 width=50 height=50 src="../../../../../images/ok.gif"></a>
> </td>

> The button SUBMIT works great to activate the form and do everything else.  I
> want to replace the "button" image with an "OK" image that I have and that is
> why I have the javascript there.  The image is called OK.GIF.  My problem is
> that is not doing what I want to accomplish.

> What I am missing?

Instead of

<input type="submit" value="OK">

use

<input type="image" src="/whatever/OK.gif">

That came with HTML 3.2, is XHTML compliant and supported since MS IE
3.0 and NS 3.0.

-- 
Mit freundlichen Grüssen / best regards

Anton Gombkötö
Organisation und Projektleitung

Avenum Technologie GmbH
Wien - Salzburg - Stuttgart
http://www.avenum.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.