使文本框或文本域最大化的充满整个表格
<style type="text/css">
textarea{
border:1; //可根据需要修改有无边框显示长度和宽带
overflow:auto;
height:100%;
width:100%
}
input{
border:1;
overflow:auto;
height:99%;
width:96%
}
</style> HTML代码:
<td>
<textarea cols="130" rows="5"></textarea>
</td>
浙公网安备 33010602011771号