RE: How to put an image into a without CSS

2006-10-11 Thread José Carlos Ortiz

Thanks Ashok, but I need a button. Your solution gives me a image that works
as a button, but I need a button with that image inside, next to the button
text. Something like:


   V Accept


Where 'V' is the image I want to display...


MADISHETTY, ASHOK [AG-Contractor/8042] wrote:
> 
> Jose,
> 
> Try following:
> 
> Do not write  tag. Instead write the following by modifying
> the
> src location. It is equalent to  of HTML.
> 
> 
> 
> Thanks
> Ashok
> 
> -Original Message-
> From: José Carlos Ortiz [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 11, 2006 1:41 PM
> To: user@struts.apache.org
> Subject: RE: How to put an image into a  without CSS
> 
> 
> But, it generates a image that links to another page, and I need a button,
> with that image inside, that links to another page.
> 
> 
> Chetan Pandey wrote:
>> 
>> Then use  and insert your image between the link opening and
>> closing tags.
>> 
>> Chetan
>> 
>> -Original Message-
>> From: José Carlos Ortiz [mailto:[EMAIL PROTECTED] 
>> Sent: Wednesday, October 11, 2006 3:54 PM
>> To: user@struts.apache.org
>> Subject: Re: How to put an image into a  without CSS
>> 
>> 
>> 
>> Laurie Harper wrote:
>>> 
>>> José Carlos Ortiz wrote:
>>>> Hello,
>>>> 
>>>> Does anybody know how to put an image inside a  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).
>>> 
>>> Err, I don't think there's any way to make transparent portions of an 
>>> image render as foreground colour rather than background colour, how 
>>> ever you get the image displayed.
>>> 
>>>> If I try to use an  inside the  it doesn't work.
>>>> Any
>>>> idea? any solution?
>>> 
>>> The  tag [1] may be what you're looking for.
>>> 
>>> L.
>>> 
>>> [1] http://struts.apache.org/1.3.5/struts-taglib/tlddoc/html/image.html
>>> 
>>> 
>> 
>> I'm using this:
>> 
>> > styleClass="botonesPantalla">
>>  
>>  
>> 
>> 
>> But,it doesn't work, it generates a button with value > 
>> I do it in this way because I need a button with a image inside, not a
>> image
>> with submit function. Any idea about how i can do it?
>> 
>> 
>> 
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/How-to-put-an-image-into-a-%3Chtml%3Asubmit%3E-without
>> -CSS-tf2419142.html#a6751934
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-put-an-image-into-a-%3Chtml%3Asubmit%3E-without
> -CSS-tf2419142.html#a6752149
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> This e-mail message may contain privileged and/or confidential
> information, and is intended to be received only by persons entitled to
> receive such information. If you have received this e-mail in error,
> please notify the sender immediately. Please delete it and all attachments
> from any servers, hard drives or any other media. Other use of this e-mail
> by you is strictly prohibited.
> 
> 
> All e-mails and attachments sent and received are subject to monitoring,
> reading and archival by Monsanto. The recipient of this e-mail is solely
> responsible for checking for the presence of "Viruses" or other "Malware".
> Monsanto accepts no liability for any damage caused by any such code
> transmitted by or accompanying this e-mail or any attachment.
> -
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-put-an-image-into-a-%3Chtml%3Asubmit%3E-without-CSS-tf2419142.html#a6752896
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to put an image into a without CSS

2006-10-11 Thread José Carlos Ortiz

But, it generates a image that links to another page, and I need a button,
with that image inside, that links to another page.


Chetan Pandey wrote:
> 
> Then use  and insert your image between the link opening and
> closing tags.
> 
> Chetan
> 
> -Original Message-
> From: José Carlos Ortiz [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 11, 2006 3:54 PM
> To: user@struts.apache.org
> Subject: Re: How to put an image into a  without CSS
> 
> 
> 
> Laurie Harper wrote:
>> 
>> José Carlos Ortiz wrote:
>>> Hello,
>>> 
>>> Does anybody know how to put an image inside a  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).
>> 
>> Err, I don't think there's any way to make transparent portions of an 
>> image render as foreground colour rather than background colour, how 
>> ever you get the image displayed.
>> 
>>> If I try to use an  inside the  it doesn't work.
>>> Any
>>> idea? any solution?
>> 
>> The  tag [1] may be what you're looking for.
>> 
>> L.
>> 
>> [1] http://struts.apache.org/1.3.5/struts-taglib/tlddoc/html/image.html
>> 
>> 
> 
> I'm using this:
> 
>  styleClass="botonesPantalla">
>   
>   
> 
> 
> But,it doesn't work, it generates a button with value  
> I do it in this way because I need a button with a image inside, not a
> image
> with submit function. Any idea about how i can do it?
> 
> 
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-put-an-image-into-a-%3Chtml%3Asubmit%3E-without
> -CSS-tf2419142.html#a6751934
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-put-an-image-into-a-%3Chtml%3Asubmit%3E-without-CSS-tf2419142.html#a6752149
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put an image into a without CSS

2006-10-11 Thread José Carlos Ortiz


Laurie Harper wrote:
> 
> José Carlos Ortiz wrote:
>> Hello,
>> 
>> Does anybody know how to put an image inside a  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).
> 
> Err, I don't think there's any way to make transparent portions of an 
> image render as foreground colour rather than background colour, how 
> ever you get the image displayed.
> 
>> If I try to use an  inside the  it doesn't work.
>> Any
>> idea? any solution?
> 
> The  tag [1] may be what you're looking for.
> 
> L.
> 
> [1] http://struts.apache.org/1.3.5/struts-taglib/tlddoc/html/image.html
> 
> 

I'm using this:






But,it doesn't work, it generates a button with value http://www.nabble.com/How-to-put-an-image-into-a-%3Chtml%3Asubmit%3E-without-CSS-tf2419142.html#a6751934
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to put an image into a without CSS

2006-10-10 Thread José Carlos Ortiz

Hello,

Does anybody know how to put an image inside a  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  inside the  it doesn't work. Any
idea? any solution?

Thanks!

--
Saludos,
José Carlos Ortiz