Hi all >>On 14-Mar-07, at 12:02 PM, Michael Lake wrote: >>>The textarea is about two lines high only. I want the text entry >>>box to be much bigger as it will be holding a full page of text ...
Kenneth helped out and suggested this: >>widgets.TextArea(attrs={'rows':10,'cols':60}) for example Thanks, but I'm still not sure where to place the above code. The below didn't work: ContactForm = forms.form_for_model(Contact) form = ContactForm() form.widgets.TextArea(attrs={'rows':10,'cols':60}) I'm guessing as I'm confused :-) Also [EMAIL PROTECTED] wrote: > Or give it an id or class and just set it in the CSS. That I did work out :-) The textarea element has an id and I was able to set the CSS style sheet to be textarea#id_itsname {width:90ex; height:40ex} which keeps the user interface stuff in the CSS. So I have it working using CSS but not with widgets. Thanks Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---