You need to use the CSS white-space
attribute.
In particular, white-space: nowrap
and white-space: pre
are the most commonly used values. The first one seems to be what you ‘re after.
More Related Contents:
- How to word wrap text in HTML?
- How can I force a long string without any blank to be wrapped?
- How to stop text from taking up more than 1 line?
- How to prevent line breaks in list items using CSS
- Wrap text in tag
- How to wrap text of HTML button with fixed width?
- Difference between overflow-wrap and word-break?
- Denoting a preferred place for a line break
- How to make a DIV not wrap?
- How to force inline divs to stay on same line?
- Word wrap a link so it doesn’t overflow its parent div width [duplicate]
- Balanced text wrapping in HTML
- How to change the color of text?
- My Website is Mirror-flipped on iPhone Devices
- Fill SVG path element with a background-image
- Equal height columns with CSS
- How to replicate background-attachment fixed on iOS [duplicate]
- How to make a pure css based dropdown menu?
- Using .otf fonts on web browsers
- How to hide drop down arrow in IE8 & IE9?
- How to center the contents of a div [duplicate]
- difference between width auto and width 100 percent
- Change the color of a bullet in a html list?
- Font awesome is not showing icon
- CSS wrong appearance of border-radius on a nested div
- How to make a border overlay child div?
- Inverted Scooped corners using CSS
- Why does the ‘title’ attribute cause browsers to ignore my styles?
- How To Add CSS3 Transition With HTML5 details/summary tag reveal?
- Changing image src depending on screen size