On Jun 3, 2004, at 07:06, Brian Candler wrote:
On Wed, Jun 02, 2004 at 05:13:13PM -0400, Joe H wrote:2. I would like to be able to have line wrapping in the read message section. The way it is now, if a message is larger than my screen, it just keeps going. I have tried doing it with tables and such but it doesn't work. Has anyone come acrost a solution to this before?
I'm not aware of one, but then I would have thought that the browser is
responsible for wrapping the text to fit the space available. Have you tried
it with different browsers?
Regards,
Brian.
I believe he's talking about the text in plain text messages that's wrapped in PRE tags, which typically prevents line wrapping in well-behaved browsers.
As a solution, you can search for all the PRE tag references in the code (HTML and C files, since I don't recall which has those tags off the top of my head) and replace it with a different tag, such as TT. But expect some (other) weirdness in the display when you do, since I don't think the paragraph breaks themselves will even show up that way.
It won't be pretty, I don't think. -- Not to mention that if any of the PRE tags are in C files, you'll have to re-compile.
-jab
P.S. Alternatively, I think there may be a way in CSS to define it so that the PRE tags do not behave as PRE tags. -- Something about spacing perhaps?? No... more like... (Oh, bugger! I'll just look it up... *click click scroll click*)
Ah! [best-yoda-voice] "white-space" the property is. [/off-yoda-voice]
("I knew it was something about 'space'," he says with false confidence. LOL)
Set it to "normal" or probably better yet "pre-wrap" I think. Something like the rule below in your stylesheet might work for you.
pre { white-space: pre-wrap; }Although, if pre-wrap setting doesn't do what I think it will, then your messages will be just as badly displayed as if you had replaced the tags after all... but this should be less work at least. HTH!
smime.p7s
Description: S/MIME cryptographic signature
