How to not wrap contents of a div? October 1, 2022 by Tarik Try white-space: nowrap; Documentation: https://developer.mozilla.org/docs/Web/CSS/white-space