|
Awesome! Now, what if I want the image to be smaller, like:
width=50 height=50?
Anton Gombkötö
<gombkoetoe@xxxxx To: Web Enabling the AS400 /
iSeries
t.com> <web400@xxxxxxxxxxxx>
Sent by: cc:
web400-bounces@xx Subject: Re: [WEB400] SUBMIT
button vs an image
drange.com
06/18/2003 01:45
PM
Please respond to
Web Enabling the
AS400 / iSeries
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
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.