How to limit a table cell to one line of text using CSS? July 23, 2023 by Tarik Add the following code to your stylesheet: table { white-space: nowrap; }