Taming preformatted text

liunx

Guest
Hello all.. I was wondering how to get some line breaks in on <pre>'s. I haven't been able to get them to stay where I want them to. If I put overflow: hidden; half of the text is gona, if i use overflow: visible; then their text stretches into no man's land, if I use overflow: auto; I get nasty scroll bars. Widths haven't helped either. Does anyone know what to do, or know of a good, relevant article? And, for reference, one of my main preformatted page with issues: <!-- m --><a class="postlink" href="http://projep.t35.com?03=chatOriginally">http://projep.t35.com?03=chatOriginally</a><!-- m --> posted by omega
Hello all.. I was wondering how to get some line breaks in on <pre>'s.
Hit the "Enter" key.Ha, ha. You know what I mean, so that if a line can't fit, it doesn't stretch, it goes into the next line.I'm not sure you can, without manually inserting the line break...Really? That sucks... it seems there has to be some way.. I know that I could do it with PHP or JS, but that kind of kills the CSS styled ideal.... not to mention it'd be very inconvenient, installing a script for every page with <pre>formatted text... :confused:I don't know for sure, so don't quote me on it.Originally posted by Paul Jr
on it. woot. anyways, if anyone else knows how to get them to act normal...,Originally posted by omega
woot. anyways, if anyone else knows how to get them to act normal...,
Don't use <pre> if you want them to "act normal". <pre> is by definition "not normal."but with a little server side work, you could easily insert newlines every x# of characters...So, are you saying there's absolutely no CSS solution? Don't get into scripting now...I was browsing the property index, and found nothing that looks like it would do the trick.
 
Back
Top