Table cell question....

  • Thread starter Thread starter Ram
  • Start date Start date
R

Ram

In my ASP.Net application,
I have the following code in my html part of the code
<tr>
<td width="100%" align="right"><pre><% =
strRouteRemark %></pre></td>
</tr>

I am populating strRouteRemark variable in the page load.
If the text in the variable is too lenghty, instead of showing the text in
the next line, data is getting displayed as a continous line.
How to make sure that the data will get displayed in the next line when it
reaches the width os the open window.
Thanks
Ram
 
Try removing the <pre> </pre> tags.

Also, instead of continuing to use the classic ASP <%=%> script tags, just
drop a web form label into the table's cell and then just set the text
property of the label in your page load event.
 
Back
Top