How to limit a table cell to one line of text using CSS?

Add the following code to your stylesheet:

table { 
  white-space: nowrap;
}

Leave a Comment