How To Prevent Automatic HTML Line Breaks

Author: , May 14th, 2020

Recently, I had a list of command-line options in a table, and my browser was automatically inserting a line-break in-between the hyphen and the option character.

To prevent this, I simply added a little CSS:

NOTE: Never use the

HTML directive – it is obsolete!