That should work (width: 100%;  /* note the ":"  is missing in your
example */), but stylistically, I'd be putting this kind of thing in
my css file. The doc explains the naming convention for SQLForm fields
(it slips my mind at the moment). Firebug is also useful for seeing
the naming convention for fields and labels created by SQLFORM.

On Feb 20, 5:52 pm, Edward Shave <ed.sh...@eshavefindings.co.uk>
wrote:
> Currently I am using this....
>
> db.ledger.amount.represent=lambda value: DIV(value, _style="width 100%;
> text-align:right;")

Reply via email to