display only one line of text css code example Example: css display text in one line white-space: nowrap;