You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ha...@informatiefabriek.nl on 2003/04/22 11:04:37 UTC

html:link question

Hi all,

I'm using this code in my jsp to display an image that acts like a link:

<html:link action="/login" paramId="serial" paramName="advertisement" 
paramProperty="serial">
        <html:img alt="Bekijk de PDF" pageKey=
"main.overview.delete_adds_icon"/>
</html:link>

This works fine, but renders the image with an ugly blue border (which 
indicates that the image is clickable), in IE and Mozilla on Windows. (On 
the MacOS there is no border).

How do I get rid of this blue border?

Thanks,

Harm de Laat
Informatiefabriek





---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: html:link question

Posted by Max Cooper <ma...@maxcooper.com>.
Add a border="0" attribute to your img tag:

<html:link action="/login" paramId="serial" paramName="advertisement"
paramProperty="serial">
  <html:img alt="Bekijk de PDF" pageKey="main.overview.delete_adds_icon"
border="0"/>
</html:link>

-Max

----- Original Message -----
From: <ha...@informatiefabriek.nl>
To: <st...@jakarta.apache.org>
Sent: Tuesday, April 22, 2003 2:04 AM
Subject: html:link question


> Hi all,
>
> I'm using this code in my jsp to display an image that acts like a link:
>
> <html:link action="/login" paramId="serial" paramName="advertisement"
> paramProperty="serial">
>         <html:img alt="Bekijk de PDF" pageKey=
> "main.overview.delete_adds_icon"/>
> </html:link>
>
> This works fine, but renders the image with an ugly blue border (which
> indicates that the image is clickable), in IE and Mozilla on Windows. (On
> the MacOS there is no border).
>
> How do I get rid of this blue border?
>
> Thanks,
>
> Harm de Laat
> Informatiefabriek
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org