Online tool to convert Multiline to Single Line, JSON to One Line and Text to One Line.Multiline Text, JSON, String or XML to Single Line by smart way for Text, JSON and XML type of lines. This task explains how to access and, if needed, edit dimension line. You want the dimension line represented: Regular, Two Parts, Leader one Part. Orientation: define the orientation of the text associated to the dimension line (parallel.
Active3 years, 7 months ago
I'd like to keep a line of text together such that either the whole line drops down a line or none at all
Acceptable
Acceptable
Not acceptable
Is this achievable in CSS?
Peter NixeyPeter Nixey8,4441111 gold badges6363 silver badges111111 bronze badges
2 Answers
You can use
insomniacwhite-space: nowrap;
to define this behaviour:7,60766 gold badges3636 silver badges4848 bronze badges
GusGus6,09322 gold badges2222 silver badges2121 bronze badges
You could also put non-breaking spaces ( ) in lieu of the spaces so that they're forced to stay together.
substatesubstate