Jump to content

Word wrap: Difference between revisions

10 bytes removed ,  12 years ago
Line 85:
"it shone in her face."
 
wordWrapwrap$ = " style='white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;";_
"white-space: -o-pre-wrap;word-wrap: break-word'"
' -----------------------------------------------------
' display doc$ at 60% and 40% of the screen
' -----------------------------------------------------
html "<table border=1 cellpadding=2 cellspacing=0><tr" + wordWrapwrap$ +" valign=top>"
html "<td width=60%>" + doc$ + "</td><td width=40%>" + doc$ + "</td></tr></table>"</lang>
output will adjust as you stretch the browser
Line 102:
| it shone in her face.
</pre>
 
 
 
=={{header|Tcl}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.