Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (20.3k points)

I feel silly for not being able to figure this out, but how do I turn off word-wrap? the CSS word-wrap property can be forced on with break-word, but cannot be forced off (only can be left alone with normal value).

How do I force word wrap off?

1 Answer

0 votes
by (40.7k points)

You just have to use the CSS white-space attribute.

Note: white-space: nowrap and white-space: pre is the most commonly used values.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Sep 4, 2019 in Web Technology by Tech4ever (20.3k points)
0 votes
0 answers
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...