Version: (using KDE KDE 3.2.2) Installed from: RedHat RPMs OS: Linux There is no way to make the <pre> element wrap in konqueror that is compatible with other browsers. All browsers have a proprietary wrap support, and CSS3 has white-space: pre-wrap. Please add support for <pre> wrappng. Mozila, Opera, and IE all allow for it. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style> pre { white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */ white-space: -pre-wrap; /* Opera 4 - 6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */ word-wrap: break-word; /* IE 5.5+ */ } </style> </head> <body> <pre wrap="soft"> Cross-compiling Mozilla Using Wine You can compile Mozilla on Linux using Microsoft Visual C++ and Wine... Wine is a Windows environment for Linux so you can run Windows applications in Linux. It is still alpha, but good enough to compile Mozilla. This is an alternative to mingw, yada yada. End snippet. </pre> </body> </html>
Is this why http://bugs.gentoo.org/show_bug.cgi?id=827 doesn't wrap? None of the <pre> text on this page wraps, making it very hard to read.
*** This bug has been marked as a duplicate of 26326 ***
Not the same, that bug is actually secretly about whitespace stripping inside the parser, this requests an additional property. Probably not a wishlist, either, since every other browser seems to have something like that
it really is a duplicate. Just another value of whitespace, that was added with css3. Good we waited :) *** This bug has been marked as a duplicate of 26326 ***