css don't wrap content in div code example Example: stop text from wrapping div { white-space: nowrap; overflow: hidden; }