Click to See Complete Forum and Search --> : new lines


giladasaf
February 19th, 2001, 02:20 AM
when the asp generates an HTML page its source is line after line and not each line ina new line... I've tried the
it kind of work but it can't be the right way, please tell me the right one and if you've got a tiny example it will help-I'm not to good with teory ;) 10x

Johnny101
February 19th, 2001, 10:48 AM
Append the vbCrLf consant (in case this board translated the contant - it's vb C r L f - remove the spaces) to the end of the string sent down.

Response.Write "Here's some" & vbcrlf
Response.Write "text, with a carriage" & vbcrlf
response.write "return in the source, but not in the HTML."




hope this helps,

johnn

John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org