How to keep the text in one line inside a table?

Simple, use nowrap tag.

Example:

<table>
	<tr>
		<td nowrap>Do not break this very loooooooooooooooooooooooooooooooooooooong sentence!</td>
	</tr>
</table>

Or:

<table>
	<tr>
		<td nowrap="nowrap">Do not break this very loooooooooooooooooooooooooooooooooooooong sentence!</td>
	</tr>
</table>

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

If you enjoyed this post, make sure you subscribe to our RSS Feed! Or if you prefer, you can Follow us on Twitter instead.