I've written a bunch of REXX edit macros to convert JCL, PL/I, REXX
and SuperC output into a HTML format that very closely mimics the
display of the ISPF editor with "HILITE ON PAREN".
Initially I was quite happy that it would just display the data, but
then I thought "Why not add some ISPF like scrolling to it?" As a
complete novice to HTML, this was not very doable for me, but after
asking around, Derek Patteson of <http://
www.smallofficesolutions.co.uk/> was kind enough to produce something
for me for a pretty nominal amount.
Now, the original code works OK and the HTML loads in seconds, even
for the largest file (1.5Mb, 10965 lines) I could create. However, if
I slot the same data into Derek's skeleton, IE's CPU usage goes to
95-99% and rendering takes ages - I 've not even tried this big one.
Derek's code also scales the data to the browser window and a resize
of the window followed by a refresh will take horrible amounts of time
- a 3000 line page has been resizing itself for the past two hours...
I've done some investigating and it seems that the culprit is a 'white-
space

re' CSS tag - using '<pre>...</pre>' HTML tags will speed up
things tremendously (only can test on IE6 right now), but the '</pre>'
tag insists on adding a space after it (again IE6) which screws up the
last line of the display.
My question is, is this difference between using CSS & HTML normal and
how, if possible, can I do something about it?
Robert