I\'ve been using word-wrap: break-word to wrap text in divs and spans. However, it doesn\'t seem to work in table cells. I have a tabl
word-wrap: break-word
div
span
The answer that won the bounty is correct, but it doesn't work if the first row of the table has a merged/joined cell (all the cells get equal width).
In this case you should use the colgroup and col tags to display it properly:
colgroup
col
Merged cell VeryLongWordInThisCell Cell 2