How to wrap text continuous without space using CSS 2?

238 Views Asked by At

How can I wrap text which does not have any space, using CSS 2. I know we can using word-wrap or word-break which is provided by CSS 3. But here in my current scenario I need some solution to achieve this with CSS 2.

<div>
Thenextstepintheapplicationprocessiswritingapersonalstatementorstatementofpurpose.It'syourchancetocommunicateyourstrengthsandwhatmakesyouanidealcandidateforadmission.It'salsoachancetodemonstrateyourwritingcapabilities.Theestpersonalstatementsarejustthat
</div>

The situation is I am using a flying saucer for pdf generation which is only supporting CSS 2.1.

Any help would be appreciated guys

1

There are 1 best solutions below

1
Apoorv Bedmutha On

This worked for me in CSS 2.1

word-wrap: break-word;