Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

output text file

Status
Not open for further replies.

Silvano

Programmer
Joined
Jul 16, 2001
Messages
386
Location
US
when HTMLCodeFormat(textFileVar) is used to output textFileVar variable thet contains some textFile.txt, the output will be formated but the word wrapping is not included; if certain line is to long (without carriage returns), the output will mess up page layout;
so, is there some way to enforce word wrapping of the txt file I want to output?

thx Sylvano
dsylvano@hotmail.com

"every and each day when I learn something new is a small victory..."
 
Good question. I wonder what would happen if you used
HTMLCodeFormat(ParagraphFormat(textFileVar))

You might try that. Also, if the textFileVar gets its content from a textarea formfield, you can try different "wrap" attributes in the textarea tag (hard, virtual). I've never figured them out, so you'd have to experiment. John Hoarty
jhoarty@quickestore.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top