I've been using
word-wrap: break word
to word wrap text in divs and spans, but it doesn't seem to work in table cells. I have a table set to width=100%, with one row and two columns. Text in columns, although styled with the above word-wrap attribute, doesn't wrap and causes the text to go past the bounds of the cell.
Any suggestions on how to work this? This happens on FF, Chrome and IE.
EDIT: Here's what the source looks like:
<table style="width: 100%;"><tr>
<td align="left"><div style="word-wrap: break-word;">looooooooooo...ng word</div></td>
<td align="right"><span style="display: inline;">Foo</span></td>
</tr></table>
The text "loooooooooooooo...ng" it larger than the bounds of my page but it doesn't break with the above html. I've tried the suggestions below of adding text-wrap:suppress and text-wrap:normal but neither helped.