大家好,我試圖在我的cakephp窗體中設置文本框的樣式,但我沒有運氣。我試圖讓它們在相對規模上更大,但我不確定如何解決這個問題。任何幫助將不勝感激。在cakephp中格式化文本框(使文本框變大)
<table align=center>
<?php echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'login')));?>
<tr>
<td align=center>Username: </td>
</tr>
<tr>
<td ><?php echo $this->Form->input('username',array('label'=>false,'size'=>100));?></td>
</tr>
<tr>
<td align = center>Password: </td>
</tr>
<td><?php echo $this->Form->input('password',array('label'=>false,'size'=>100));?></td>
</tr>
<tr>
<td align=center><?php echo $this->Form->end('Login');?></td>
</tr>
</table>