css - How to break long words in a table td? -


This is what I have:

& 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;

I think this solution will help you!

  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+ * /}   


// 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 word-break to break words in many rows

Paused: Paused - All



Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -