response.write( " <textarea cols= '40 ' name= 'comment ' id= 'comment ' tabindex= '4 '> </textarea> ")这样写的时候cols为什么不能控制textarea的大小,改成style= 'width:300;height:120 '也没有用
------解决方案--------------------
style是有用的. Response.Write( " <textarea cols= '40 ' name= 'comment ' style= 'width:300;height:120 ' id= 'comment ' tabindex= '4 '> </textarea> ");
------解决方案--------------------
可能你的CSS冲突了
------解决方案--------------------
标准点应该写上单位 width:300px;.....