webchun
webchun

Reputation: 1214

Text is not wrapped inside div container with word-wrap

I have a situation like this : http://jsfiddle.net/uG4b5/ Anybody can help me why the text inside div.content is not wrapped to the width defined in the div.container?

This is what I want to achieve : enter image description here

For a reason I have to keep the table based layout there. So I can't remove the display: table-row; nor display: table-cell;

Thanks

Upvotes: 1

Views: 260

Answers (1)

Shabnam K
Shabnam K

Reputation: 1582

Remove word-wrap: break-all property and use table, tr, th, td tags instead ...

Demo: http://jsfiddle.net/uG4b5/4/

Upvotes: 1

Related Questions