I'm trying to combine "white-space:pre" and "word-wrap: break-word" in
a rule and not getting too far. I guess in someways they shouldn't
work together..but..

i'm trying to achieve this;

content in a TD which;

1) preserves soft-returns/line breaks (breaks that are NOT <br>s etc).
For this I need the "white-space:pre".

2) long (or long due to increasing font-size) and unbroken text to be
forced to wrap, and to NOT push the TD wider. For this I need
"word-wrap: break-word" (or some proprietary rule ie "white-space:
-moz-pre-wrap" etc.

Getting one or the other to work is fine. Getting both to work
together is hard, but this is what I'm trying to do.

Any ideas?

NB: when I say soft returns I mean line-breaks that are NOT caused by
Ps or BRs. The kind of line-breaks that PRE preserves. I believe some
people call BRs soft-returns.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to