Monday, December 21, 2009

CakePHP Form Textarea Input Size

Default cake css defines all text inputs as having 
width 100%, so if you don't change that then the physical width of the 
textbox will not depend on the size attribute. 



Read more here.
Thanks.

2 comments:

Jaco Smit said...

Indeed. use the Cols attribute to define the width.

Siddhartha said...

Thanks Smit.. :)