Like bruno said, there are no attribute vertical-align in img object, this
is  css style thing

2010/11/10 Bruno Rocha <rochacbr...@gmail.com>

> This is working for me:
>
> {{=IMG(_src=URL(r=request,a='base',c='static',f='base/card/logos/%s' %
> logo[0].link), _style="vertical-align:'middle';")}}
>
> 2010/11/10 annet <annet.verm...@gmail.com>
>
> Massimo,
>>
>> Thanks, problem solved. However, this:
>>
>> {{=IMG(_src=URL(r=request,a='base',c='static',f='base/card/logos/%s' %
>> logo[0].link), _vertical-align="middle")}}
>>
>> .. result in a SyntaxError: keyword can't be an expression
>>
>> According to W3C I should be able to set vertical-align on an img.
>>
>>
>> Kind regards,
>>
>> Annet.
>
>
>
>
> --
>
> http://rochacbruno.com.br
>



-- 
My blog: http://martin.tecnodoc.com.ar
My portfolio *spanish*: http://www.tecnodoc.com.ar
Checkout my last proyect instant-press: http://www.instant2press.com

Reply via email to