I tried to find the default css file for zend framework project .
Is there any default css file for zend framework actually?
How can i change the css style of a form text input textarea
preguntado el 28 de agosto de 11 a las 04:08
No, there is no default css. Zend Framework is more on the library side than your Cake so you cannot expect it to deliver half an application for you. But what you can expect is rock solid, highly secure and very flexible components!
There is no default css file for ZF as much as i know.You could insert css files easily in your view`s index.phtml or layout file using this command:
and when you appended and or prepended all your css files,you may write following code to actually display it:
You can also set additional HTML attributes for the tag by using the setAttrib() or setAttribs() methods. For instance, if you wish to set the id, set the "id" attribute: $form->setAttrib('id', 'login'); or
$form->setAttrib('class', 'zend-form') ->addAttribs(array( 'id' => 'registration', 'onSubmit' => 'validate(this)', ));
another example which is for Zend_Form_Element_Text:
$primaryEmail = new Zend_Form_Element_Text('primaryemail'); $primaryEmail->setAttrib('size', 35)->setAttrib('class', 'another_row');