[thelist] modified <pre></pre> blocks

.jeff jeff at members.evolt.org
Tue Jul 16 15:10:01 CDT 2002


hola evoltistas,

i've been playing around with trying to alter the way code is displayed in a
<pre></pre>, mostly in an effort to find a solution that will keep long
lines from breaking the design by pushing out beyond the boundaries of the
content area.

http://members.evolt.org/jeff/code/modified_pre_blocks.cfm

ie5+/win users with js enabled should see line numbers and long lines should
wrap.  all other competent css capable browsers should show the <pre></pre>
blocks in a scrollable area.  all other browsers should display normal,
undecorated <pre></pre> blocks.

i'm looking for feedback on the implementation, bugs, comments, suggestions,
etc.

thanks,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/





More information about the thelist mailing list