a few ways:1.
<pre>
Your Data goes here
</pre>2. learn from CSDN:<style>
textarea.content
{
font-family:Fixedsys ËÎÌå;
behavior:url('http://expert.csdn.net/Expert/xsl/tacontent1.htc');
}
</style>
<textarea class="content" readonly="true">
Your Data goes here
</textarea>3. before you display the data, do some filtering:str = ".....";
str = str.Replace(" "," ").Replace("\r\n", "<BR>");
<pre>
Your Data goes here
</pre>2. learn from CSDN:<style>
textarea.content
{
font-family:Fixedsys ËÎÌå;
behavior:url('http://expert.csdn.net/Expert/xsl/tacontent1.htc');
}
</style>
<textarea class="content" readonly="true">
Your Data goes here
</textarea>3. before you display the data, do some filtering:str = ".....";
str = str.Replace(" "," ").Replace("\r\n", "<BR>");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货