That will make a gray button with the image on top of it.  I think that
looks ugly.  The version I use makes only the image the button so you can
make your web apps look alot nicer.

-----Original Message-----
From: Scott Cressler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 16:08
To: '[EMAIL PROTECTED]'
Subject: RE: How can I use a Image as a submit button using struts 


Um, I thought the <html:image> tag did this and doesn't it generate an
<input type="image"> tag?

Scott

> -----Original Message-----
> From: Kyle Robinson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 4:00 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: How can I use a Image as a submit button using struts 
> 
> 
> The best way I've found of doing this is with a little javascript as
> follows:
> 
> <a href="javascript:submit();">
>       <img src="images/buttons/save.gif" name="save" border="0">
> </a>
> 
> For the purposes of using Struts we made a custom tag to 
> create these...
> 
> -----Original Message-----
> From: Natra, Uday [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 15:45
> To: '[EMAIL PROTECTED]'
> Subject: How can I use a Image as a submit button using struts 
> 
> 
> Hi,
> Can anybody tell me how I can simulate the functionality of 
> 
> <Img Type = Submit />
> I mean I need to use an Image as a submit button.
> 
> 
> Thanks,
> Uday.
> 

Reply via email to