One option is to use the text-overflow property with the ellipsis value. This will cause any text that exceeds the specified length to be replaced with an ellipsis (three dots). Another option is to use the max-width property with the word-wrap property set to break-word. This will cause any words that exceed the specified width to be broken onto a new line. Finally, you can use the white-space property with the nowrap value.