how to stop text from going to new line code example Example: stop text from wrapping div { white-space: nowrap; overflow: hidden; }