Skip to main content

word-wrap:break-word does not work

During troubleshooting a css where the text wrap was just not working even though the style had word-wrap:break-word included.

Later figured that there was another css property which was preventing it from working.

Added this to style and it started working.

white-space: normal;

Comments