RajeshD schreef: > Here's one solution: > > When you write out your textarea, encapsulate it in a div element with > a class attribute. For example, > > <div class="medium-size">{{form.address}}</div> > > or > > <div class="small-size">{{form.address}}</div> > > and so on. > > Then, in your stylesheet, you can target those specific textarea > elements and give them different dimensions: > > textarea {width: 25em; height: 10em;} > .small-size textarea {width: 10em; height: 2em;} > .medium-size textarea {width: 25em; height: 6em;} > > This lets you easily target individual textareas in your CSS.
Thanks Rajesh & Daniel, i'll give both solutions a try. Regards, Benedict --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---