How to prevent line-break in a column of a table cell (not a single cell)?

Steven picture Steven · Dec 12, 2009 · Viewed 153.9k times · Source

How can I prevent automatic line breaks in a column of table (not a single cell)?

Answer

David M picture David M · Dec 12, 2009

You can use the CSS style white-space:

white-space: nowrap;