Word wrap: Difference between revisions

102 bytes removed ,  12 years ago
Line 86:
 
wrap$ = " 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" + wrap$ +" valign=top>"
html "<td width=60%>" + doc$ + "</td><td width=40%>" + doc$ + "</td></tr></table>"</lang>
output will adjust as you stretch the browser and maintain a 60 to 40 ratio of the width of the screen.
<pre>
---------- at 60%----------------------- | -------- at 40%----------------------
Anonymous user