Try using a style sheet.  The following example uses the "imgstyle" style to
modify the width and height of the html:image tag:

<style type="text/css">
.imgstyle {
    width: 100;
    heigth:  45;
}
</style>

<html:image page="/images/picture.gif" styleClass="imgstyle" />

Good luck,
John
----- Original Message -----
From: "Struts Newsgroup" <@[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 28, 2002 4:55 PM
Subject: height and width of html:image?


> Subject: height and width of html:image?
> From: "Scott Danzig" <[EMAIL PROTECTED]>
>  ===
> How do I set the height and width of a graphic using html:image ?
>
> - Scott
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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

Reply via email to