You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Janne Mattila <ja...@hotmail.com> on 2004/09/02 13:23:00 UTC

Height and width missing from

Damn, why no width and height attributes for html:image? Disappointing.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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


RE: Height and width missing from

Posted by Robert Taylor <rt...@mulework.com>.
If you are using it to render an <img .../> then use
<html:img .../> which should have the appropriate attributes.
The <html:image .../> is for rendering <input type="image" .../>
which does not have the height and width attributes.

robert

> -----Original Message-----
> From: Janne Mattila [mailto:janne4444_63@hotmail.com]
> Sent: Thursday, September 02, 2004 7:23 AM
> To: user@struts.apache.org
> Subject: Height and width missing from <html:image>
> 
> 
> Damn, why no width and height attributes for html:image? Disappointing.
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

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