a few ways:1.
<pre>
Your Data goes here
</pre>2. learn from CSDN:<style>
textarea.content
{
font-family:Fixedsys &Euml;&Icirc;&Igrave;&aring;;
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(" ","&nbsp;").Replace("\r\n", "<BR>");