<head>
<style>
.textareaWidthoutBorder
{
height : expression(this.scrollHeight);
border : 0;
background-color : transparent;
overflow : auto;
}</style></head><body bgcolor=efefef>
<table bgcolor=ccccc width=300 >
<tr>
<td>
<textarea class=textareaWidthoutBorder style="width:100%" readOnly >将内容忠实显示
与Pre的区别是内容过多,则会自动折行
fdsafdas
fdsaf
折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行折行 
fdsa</textarea></td>
</tr>
</table>
 
</body>