I m New to Zend framework and I have created a login form in PHP and I want to set Its css style but I don’t know how to set it.
Please Suggest some code or link…..
Thanks in Advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you are creating your form elements you have to give them names:
These become the ids of the elements. You can target these elements using CSS selectors just like any other element:
You can also give the form a name.
Another method is to give your form elements classes:
As you become more experienced with ZF you may want to start looking at form element decorators. These allow you to show error messages, labels, and extra divs or whatever around your form elements.