Work-wrap in html table

 

<tablestyle=”table-layout: fixed”>

<tr><td style=”word-wrap: break-word”>

LongLongLongLongLongLongLongLongLongLongLong

LongLongLongLongLongLongLongLongLongLongLongLongLongLong

LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongWord

</td></tr></table>

But for my testing, the above code is only good for IE7. Not affect IE8/FF/Chrome.

Safari is looking good without any special code.

Leave a Comment