Well I do it like this, in my exemple:
<td style="width: 365px"><?php echo $post['Area']['Descricao']; ?></td>
I guess in your case would be something like:
$this->Form->input('username', array('width'=>'365px'))
2012/5/15 Daniel <[email protected]>
> How do you set the physical (pixel) width of an input field?
> For example I have an input field as follows:
> echo $this->Form->input('username');
> ... say I want it to be 120 pixels on screen. How do I do this? Do I
> use a "div"?
>
> Thanks
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php