I have a situation where I used the following CSS properties for a div:
word-wrap: break-word;
text-align: justify;
When a single word is too long to fit within the width of the div, it wraps or breaks into multiple lines. However, if a second word with a width equal to or less than the div width comes after the first word and cannot fit on the same line, it moves to the next line. In this case, how can I ensure that the second word also wraps while sitting alongside the first word? Shouldn't the word-wrap property work in this scenario as well?
Any suggestions on how to achieve this?