Today encountered TD text content does not wrap, found that: White-space:nowrap, that is, forced text does not wrap, by the way, the text wraps the property Word-wrap, summarized as follows:
The default for White-space is normal, which wraps itself.
Word-break:break-all and Word-wrap:break-word are forced to wrap, the former if the English characters too long automatic truncation, the latter the entire English word will wrap!
And I often use it this way:
Word-wrap:break-word; Overflow:hidden;
There is no problem with IE under FF, long strings of English will be obscured beyond the content
Td.th forced line wrapping method in table:
<table style= "table-layout:fixed" width= ">"
<tr>
<TD width= "25%" style= "Word-break:break-all; Overflow:hidden; ">php Point-to-point (www.phpddt.com) Original tutorial </td>
<TD width= "75%" style= "Word-wrap:break-word; Overflow:hidden; ">php Point-to-point (www.phpddt.com) Original tutorial </td>
</tr>
</table>