Hi there!

I'm having some troubles using an image as a substitute for a submit 
button...

I'm generating the form in the controller and using a local image as 
follows:
INPUT(_type="image", _value="Editar", _width="16", _height="16", _alt=
"Editar",  _src="/"+request.application+"/static/images/edit.png"),

The problem is the image is rendered with the right height but the width 
atributte seems to have absolutely no effect. The image's width is always 
210px. The funny thing is that the original hosted image is 128x128, so the 
render is resizing it with a bigger width than the original png width.

Any ideas? Thanks!


-- 



Reply via email to