Menu

#5 Text wrap for NOTES

v0.96.0b
open-accepted
None
5
2004-04-24
2004-04-22
No

Please implement a correct text wrap for notes that are
added onto cases. As it is currently, when adding a
note, you will need to hit return at the end of every
line, or you will have to scroll sideways to view the text.

This problem is currently in version .96.0

I don't know if it has already been fixed in later versions,
it didn't seem like it in the support notes.

-Brad

Discussion

  • Nicholas J Kreucher

    • assigned_to: nobody --> kreucher
     
  • Nicholas J Kreucher

    • labels: 620347 -->
    • assigned_to: kreucher --> nobody
     
  • Nicholas J Kreucher

    Logged In: YES
    user_id=33628

    <pre width=72> is being used to word wrap... apparently this
    isn't supported by IE (seems to work in Mozilla fine). I
    changed the <pre> for plain text email body display to use
    the "wrap" class defined in the .css file:

    pre.wrap {
    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+ */
    }

    which works even better for Mozilla, but still doesn't work
    for IE. I don't think the IE specific tag of word-wrap was
    ment to be used in a <pre>. A few other not so elegant
    solutions... fixed width (pixels not chars) <pre> which
    works in both browsers, and manually breaking lines at 72
    chars within helpdesk itself (ick)... hmm still investigating.

     
  • Nicholas J Kreucher

    • milestone: --> v0.96.0b
    • assigned_to: nobody --> kreucher
    • status: open --> open-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB