Sonam, You do not want to kill a text-decoration simply because images do
not have text decorations.
Instead, on your image add this property

border="0" So your image tag should be:

<img src="../../images/save_journal.gif" border="0"/>

I hope this helps. You can delete the style tag all together.

----- Original Message -----
From: "Sonam Belbase" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 1:38 PM
Subject: links without underline/border


> I'm trying to get the image be a link and not be underlined, but the
> following still
> renders an image with with a border.
>
> <html:link href="javascript:setSaveUrl('save');"
> style="{text-decoration: none;}"  >
>      <img src="../../images/save_journal.gif"/>
> </html:link>
>
> If anyone can tell me how I can get the link image to display just on
> it's own,
> I'd appreciate it.
>
> Thanks,
> SB
>
> --
> NOTICE: If received in error, please destroy and notify sender.  Sender
> does not waive confidentiality or privilege, and use is prohibited.
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to