yes, you need to write custom CSS – we think that defining something
like a width should not happen within forms.py (or admin.py).
I understand that fixing it through css should be the right way. The problem is that I am simply unable to change width of fields in a tabular inline form from css. The widgets take an id which is different for each row of the inline formset. In a model called "member", I have a field called "name". The widgets for this take the id "id_member_set-0-name" for the first row, "id_member_set-1-name" for the second row, "id_member_set-2-name" for the third row, and so on. Given that, I do not understand how to reference it in my style file and tell that all these widgets should have the specified width.
I posed the problem on the django mailing list but got no clear answer that I could implement. Finally, the only solution that worked was to specify the width in forms.py
I shall indeed be grateful if somebody here could help in guiding me how to manipulate the css in the above example. I shall be happy to send the files over if that helps.
Vikas