Can someone help me figure out how to wrap the content of a <span>
tag that is inside a <td>
? The style I have applied doesn't seem to be working.
Here's the code snippet:
<td style="white-space:nowrap;border:1px solid black">
<span style="display:block;white-space:pre-line;word-wrap:break-word;">
Series of 2 or more paragraphs
</span>
I want to point out that I need to apply this style without setting a specific width property since the width
is determined dynamically by the user.