Zend Form not in place labbels values, how to move them that they will be exactly above text box?

Posted by Yosef on Stack Overflow See other posts from Stack Overflow or by Yosef
Published on 2010-06-11T13:10:59Z Indexed on 2010/06/11 13:12 UTC
Read the original article Hit count: 448

Filed under:
|
|
|
|

Hi, I have esthetic's problem.
Zend Form not in place label value, how to move them that they will be exactly above text box, and not from left? (I didn't put filters and validation to make this code simpler here)

Thanks,

Yosef

My Code Login.php form:

public function init()
{
  $username = new Zend_Form_Element_Text('username');
  $username->setLabel("username");
  $password = new Zend_Form_Element_Password('password');
  $password->setLabel('password');
  $this->addElements(array($username, $password));
}

© Stack Overflow or respective owner

Related posts about php

Related posts about css