css - How to break long words in a table td? -
This is what I have:
I think this solution will help you! // Edit It has been long since it accepted The best answer and updates were necessary. See the replies given below @ Benaholdale 89 and @ Steve. The support of the current browser is now enough to use the & lt; Td style = 'width: 500px; White-space: Pre-wrap; White spot: -Moz-pre-rap; White-space: -Peep-wrap; White spot: -O-pre-rap; Wrap-wrap: break-word; '& Gt;
Pre {White-space: East; / * CSS 2.0 * / white-space: pre-rap; / * CSS 2.1 * / white-space: pre-line; / * CSS 3.0 * / White-space: -prep-wrap; / * Opera 4-6 * / white-space: -O-pre-rap; / * Opera 7 * / White-space: -Moz-pre-rap; / * Mozilla * / White-location: -HP-pre-rap; / * HP printer * / word wrap: break-word; / * IE 5+ * /}
word-break to break words in many rows
Paused: Paused - All
Comments
Post a Comment