[thesite] leo stuff -- code display

aardvark roselli at earthlink.net
Sat Feb 3 21:01:37 CST 2001


> From: "rudy" <r937 at interlog.com>
[...] 
> maybe insert some line breaks strategically?   or would that require too
> much work?   could it even be done programmatically?   any regexp gurus
> around?  stick in a line break every 45 characters unless you encounter one
> sooner?

how about use a <p>, and replace all line feed / carriage returns 
with a <br>?  yeah, it can make things format oddly on smaller 
displays, but it might be the most generic approach we can find... 
larger displays will just see short lines, around 60-80 chars...





More information about the thesite mailing list