How To Prevent Automatic HTML Line Breaks

Published Date Author: , Posted May 14th, 2020 at 11:14:20am

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!

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.