Or specify the dimensions in ems if you want a closer equivalent to
rows and columns.

On 6/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 6/6/06, tomass <[EMAIL PROTECTED]> wrote:
> > Wondering if there's a way to specify how many rows and columns the
> > generic update page uses for a textarea?
> >
> > It seems to default to 10 and 40, and I'd like to make this much
> > larger.
>
> Hi Tom,
>
> Each form element gets an ID in its HTML, which you can target that
> via a CSS rule.
>
> If your field is called "foo", the ID will be "id_foo", and you can
> target it with this CSS:
>
>     <style type="text/css">
>     #id_foo { width: 300px; height: 200px; }
>     </style>
>
> Adrian
>
> --
> Adrian Holovaty
> holovaty.com | djangoproject.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to