I would use the forms standard DIV class instead of giving it an id.
If you have more than one input field, then you can use the input
fields id to define different width to those that may require a longer
or shorter input field.
On Apr 19, 9:09 am, sebb86 <kahlc...@xxxxxxxxxxxxxx> wrote:
> thank you. I had a similar idea. But how do i code this?
> [my css code]
> [view code]
> echo $form->input('db_field', array('label' => 'Label', 'maxLength' =>
> '20%', 'div' => array('id' => 'input')));
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at