how to prevent wordss from going on another line css code example Example: stop text from wrapping div { white-space: nowrap; overflow: hidden; }