Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试分配一个类来形成结束按钮,但是当我尝试通过调用 css 文件中的类来设置它的样式时,它不会产生任何效果。
表单按钮:
echo $this->form->end('Sign Up', array('class' => 'forminput'));
CSS:
.forminput { width: 292px; height: 32px; }
用于$this->Form->submit()创建带有所需选项的提交按钮,然后在不使用$this->Form->end()任何参数的情况下简单地关闭表单标签。
$this->Form->submit()
$this->Form->end()