css force no line break

In CSS, no line breaks are enforced, the text will not wrap, and the text will continue on the same line until it encounters a br tag.

  • white-space:nowrap;

The post css forcing no line breaks first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9189
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment