If you need broader browser support than white-space: nowrap , you can use the preliminary tag. The css solution is nicer, so use pre if you really need to:
<tr> <td><pre>This is my non wrapping text</pre></td> <td><pre>Some more non wrapping text</pre></td> </tr>
Obviously this will only work for plain html in your table cells, plus pre usually comes with its own default style, which you can get around with the following in CSS:
td pre { font-family: inherit; font-size: inherit; }
Using inherit may be a little less support, so if you can, then it's best to actually define the style you want directly.
source share