You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could try word-wrap: break-word; Example below:
<html><head><style>
* { font-size: 24px; }
@page {
size: 400px 500px;
}
td {
border: 1px solid red;
word-wrap: break-word;
}
</style></head><body><table><tr><td>Somereallylongtextofthisisgoingtobreakeverything</td><td>Whoathatreallybrokeeverything</td></tr><tr><td>Some short words for a change. How will these break?</td><td>Testing 123. OK, this is some more text.</td></tr></table></body></html>
thank you for your answer, use word-wrap: break-word; can wrap different word,but if my word is very long it will not work . word-break:break-all; can wrap bug the program may be support. such as:
hi,I have a problem, i want to know How to Wrap in the table when content is very long? thank you
The text was updated successfully, but these errors were encountered: