How do I wrap text with no whitespace inside a <td>?

Viewed 108475

I've used:

word-break:break-all;
table-layout:fixed;

and the text wraps in Chrome but not Firefox.

Update: I decided to change the design so it didn't need the wrap; trying to sort out a CSS fix/hack was proving too frustrating and time consuming.

9 Answers

What worked for me was:

.output {

overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;

}
Related