Is there a way to keep a string of text on one line, so that if the div width gets to small, the whole string will drop to the next line instead of half of it?
Example:
You want to use a non-breaking space in your HTML markup
instead of a normal space.
"Industry Updates - 8th September 2013"
CSS
.nowrap {
white-space: nowrap;
}
HTML
<span class="nowrap">Industry Updates -</span>
<span class="nowrap">8th September 2013</span>
Any element with white-space: nowrap
stays on one line