> where do i write the statement
>

That depends if you want all your text fields to have the background you 
put it in a .css file in the css folder.

If you want the text fields of a single form to have the bacground you put 
in in the view:

<style type="text/css">
  input {background-image: url('img/ios-linen.jpg'); background-repeat: 
repeat-x repeat-y;}
</style>

If you want a specific field in a form to have the background you'd do 
something like:

form.element(_id='table_field')['_style']='background-image: 
url("../static/css/img/ios-linen.jpg"); background-repeat: repeat-x 
repeat-y;'


Kind regards,

Annet

-- 



Reply via email to