I couldn't figure out for the life of me why setting the size for my form
fields wasn't working...until I read your note about the default CSS. (new
to cakephp)

THANKS!



grigri wrote:
> 
> 
> dude...
> 
> echo $form->input('Foo.bar', array('type' => 'text', 'length' => 10));
> 
> ...not exactly rocket science
> 
> [note that the 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]
> 
> On Feb 22, 11:01 am, "Doug @ Straw Dogs" <[email protected]>
> wrote:
>> I'm a bit suprised to find that the input method of the form helper
>> doesn't have a size attribute.
>>
>> Am I missing it or do I need to hack it in myself?
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FormHelper%3A%3Ainput%28%29-has-no-size-option---tp15631884p23817062.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to