How to prevent line breaks in list items using CSS

Viewed 439048

I'm trying to put a link called Submit resume in a menu using a li tag. Because of the whitespace between the two words it wraps to two lines. How to prevent this wrapping with CSS?

5 Answers

Bootstrap 4 has a class named text-nowrap. It is just what you need.

Related