i don't see any size (field width) or maxlength (total chars that can
be type in field) in the html output.
-wj
On Thu, Nov 6, 2008 at 9:17 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> length is the size of the database field. Nothing to do with
> presentation.
> Now say the table is called "person" and the field is called "name".
> In the CSS you can do
>
> INPUT#person_name {
> color: blue;
> width: 200px;
> }
>
> and set any other property you want.
>
> Massimo
>
> On Nov 6, 5:59 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
>> in the db def there is a length for the field size. How do you
>> control the widh of a field in a form (with t2??)
>>
>> thx,
>>
>> -wj
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---