struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: How to put an image into a <html:submit> without CSS
Date Tue, 10 Oct 2006 20:58:59 GMT
Use the <html:image> tag, it renders an <input type="image"> which works
just like a <input type="submit"> except that it displays an image rather
than a button.
  (*Chris*)

On 10/10/06, José Carlos Ortiz <jose.ortiz@gmail.com> wrote:
>
> Hello,
>
> Does anybody know how to put an image inside a <html:submit> tag. I can't
> use the background-image css property because the image has transparent
> fragments and I need this fragments to be the same color of the text (text
> is white and the background is other color).
>
> If I try to use an <html:img> inside the <html:submit> it doesn't work.
> Any
> idea? any solution?
>
> Thanks!
>
> --
> Saludos,
> José Carlos Ortiz
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message