> What did i do wrong? >
It should probably be:
form.element(_id='main_dept_task_description')['_style']='background-image:
url("../static/css/img/ios-linen.jpg"); background-repeat: repeat-x
repeat-y;'
Where main_dept_task is the table name and description is the field name.
You can see what the correct id is by inspecting the element with for
example firefox's firebug.
Annet.
--

