You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/03/29 00:55:01 UTC

height and width of html:image?

Subject: height and width of html:image?
From: "Scott Danzig" <da...@avaya.com>
 ===
How do I set the height and width of a graphic using html:image ?

- Scott



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: height and width of html:image?

Posted by John Kroubalkian <Jo...@Kroubalkian.com>.
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" <@B...@basebeans.com>
To: <st...@jakarta.apache.org>
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" <da...@avaya.com>
>  ===
> How do I set the height and width of a graphic using html:image ?
>
> - Scott
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>